/* Imports the modern Outfit font from Google Fonts for a clean tech aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for design system consistency */
:root {
    --primary: #133564;       /* Deep navy blue matching Webverse's background */
    --accent: #b83c7e;        /* Magenta/plum theme */
    --accent-light: #ca5293;  /* Lighter magenta */
    --bg-dark: #0b0914;       /* Deep space black */
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --font-primary: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container Utility */
.wv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.wv-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 9, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.wv-header .wv-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wv-logo-link img {
    height: 35px;
    display: block;
}

.wv-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.wv-nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.wv-nav-link:hover, .wv-nav-link.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.wv-nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(184, 60, 126, 0.3);
}

.wv-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 60, 126, 0.45);
    color: #ffffff;
}

/* Mobile Nav Toggle */
.wv-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.wv-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.wv-hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(184, 60, 126, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.wv-hero .wv-container {
    position: relative;
    z-index: 2;
}

.wv-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.wv-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wv-hero-content h1 span {
    background: linear-gradient(135deg, var(--accent-light) 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wv-hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.wv-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wv-hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}

.wv-hero-feat-item i {
    color: var(--accent-light);
    font-size: 1.2rem;
}

/* Services Section (Light Theme) */
.wv-services {
    padding: 6rem 0;
    background-color: #ffffff;
    color: #0f172a;
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.wv-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.wv-section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.wv-section-header p {
    color: #475569;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.wv-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.wv-service-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wv-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(184, 60, 126, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wv-service-icon {
    width: 60px;
    height: 60px;
    background: rgba(184, 60, 126, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
}

.wv-service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.wv-service-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section (Light Theme) */
.wv-about {
    padding: 6rem 0;
    background-color: #ffffff;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.wv-about h2 {
    color: #0f172a;
}

.wv-about p {
    color: #475569;
}

.wv-about ul li {
    color: #334155;
}

.wv-about ul li strong {
    color: #0f172a;
}

/* Call to Action & Bottom Form */
.wv-cta-section {
    padding: 8rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 60, 126, 0.08) 0%, transparent 60%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wv-cta-section .wv-container {
    position: relative;
    z-index: 2;
}

/* Background Video Loop Style */
.wv-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.wv-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle opacity as requested */
}

.wv-cta-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.wv-cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.wv-cta-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FORM STYLING - Magenta card theme matching user requirement
   ========================================================================== */
.wvamf-form-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.wvamf-card {
    background: linear-gradient(135deg, #a42b6a 0%, #b83c7e 50%, #c84d90 100%);
    border-radius: 24px;
    padding: 3.5rem 2.8rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), 
                0 0 60px rgba(184, 60, 126, 0.25);
    position: relative;
    overflow: hidden;
}

/* Glowing background circle inside form */
.wvamf-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Success layout overlay */
.wvamf-success-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #a42b6a;
    z-index: 10;
    padding: 3rem;
    animation: wvamf-fadeIn 0.5s ease forwards;
}

.wvamf-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.wvamf-success-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.wvamf-success-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.wvamf-success-discount-box {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.wvamf-success-discount-box .lbl {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.wvamf-success-discount-box .val {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
}

.wvamf-success-discount-box .sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Logo container styling */
.wvamf-logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.wvamf-logo {
    max-width: 150px;
    height: auto;
    display: inline-block;
}

/* Asymmetrical typography header matching the image */
.wvamf-title-container {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.wvamf-title-left {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-align: left;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.wvamf-title-right {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
}

/* Grid Layout for Form Rows */
.wvamf-form {
    position: relative;
    z-index: 1;
}

.wvamf-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.wvamf-col {
    flex: 1;
    min-width: 0;
}

.wvamf-col-full {
    width: 100%;
}

/* Pill-shaped inputs with matching translucent styling */
.wvamf-input {
    width: 100%;
    padding: 1rem 1.8rem;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px; /* Fully rounded pill shape */
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.wvamf-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.25);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.wvamf-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

/* Pill-shaped Submit Button centered at the bottom */
.wvamf-submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin: 2.5rem auto 0;
    padding: 0.9rem 3.5rem;
    background-color: #ca5293; /* Lighter magenta/pink button */
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wvamf-submit-btn:hover {
    background-color: #d862a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.wvamf-submit-btn:active {
    transform: translateY(0);
}

.wvamf-submit-btn:disabled {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner */
.wvamf-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: wvamf-spin 0.8s linear infinite;
}

@keyframes wvamf-spin {
    to { transform: rotate(360deg); }
}

/* Response message spacing */
.wvamf-response-msg {
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.wvamf-response-msg.wvamf-success {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wvamf-response-msg.wvamf-error {
    background: rgba(0, 0, 0, 0.2);
    color: #ffd0d0;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

/* Footer Section */
.wv-footer {
    background-color: #06050b;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.wv-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.wv-footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.wv-footer-socials {
    display: flex;
    gap: 1rem;
}

.wv-footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.wv-footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: rgba(184, 60, 126, 0.1);
}

.wv-footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.wv-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.wv-footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.wv-footer-col ul a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.wv-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.wv-footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
@keyframes wvamf-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .wv-hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .wv-hero {
        padding: 8rem 0 4rem;
    }
    .wv-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wv-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wv-nav-menu {
        display: none; /* In production a JS class will toggle active state */
    }
    .wv-menu-toggle {
        display: flex;
    }
    .wv-hero-content h1 {
        font-size: 2.8rem;
    }
    .wv-section-header h2 {
        font-size: 2.1rem;
    }
    .wv-cta-content h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 600px) {
    .wvamf-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    .wvamf-title-left, .wvamf-title-right {
        font-size: 2.2rem;
    }
    .wvamf-row {
        flex-direction: column;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }
    .wvamf-submit-btn {
        width: 100%;
    }
    .wv-services-grid {
        grid-template-columns: 1fr;
    }
    .wv-footer-grid {
        grid-template-columns: 1fr;
    }
    .wv-footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
