/* Global Premium Layout - Balanced Proportions */
body {
    padding-top: 180px !important;
}

/* Legacy .nav styles removed as they conflict with the island layout */

.brand {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
    /* Managed by container padding */
    overflow: visible !important;
}

.brand .logo {
    height: 200px !important;
    /* Prominent "Wow" logo, increased for more impact as requested */
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
}

/* .nav-links a override removed to let base.css handle the island nav */

/* Section & Content Flow */
.section {
    padding: 100px 0 !important;
    /* Restored healthy breathing room */
    scroll-margin-top: 120px !important;
    min-height: auto !important;
    /* Allow natural flow */
}

.container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    width: 100% !important;
    max-width: 1200px !important;
}

/* Hero Section Refinement */
#home.section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

#pricing.section {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}

.hero-grid {
    gap: 30px !important;
}

.hero-copy h1 {
    font-size: 2.8rem !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.hero-copy p {
    font-size: 1.1rem !important;
    margin-bottom: 25px !important;
}

/* Global section titles centering */
section h2,
.section h2 {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    /* Reduced from 40px */
    color: var(--white) !important;
    font-size: 2rem !important;
}

/* Exclusions for specific titles */
#home h2,
#contact h2 {
    text-align: left !important;
    width: auto !important;
    margin-bottom: 20px !important;
}

/* Feature Cards - Premium Layout */
.features-grid {
    gap: 24px !important;
    margin-top: 40px !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    padding: 30px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(108, 92, 231, 0.3) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--accent1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    background: var(--accent1);
    color: #fff;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.6);
}

.feature-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
}

.feature-card p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--muted) !important;
}

/* Method section - Unified Alignment Lock */
.step-card p {
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: center !important;
    padding: 15px 20px !important;
    font-size: 0.95rem !important;
    width: 240px !important;
    line-height: 1.4 !important;
    border: 1px solid var(--accent1) !important;
    background: var(--card) !important;
    margin: 0 !important;
}

.step-card p::before {
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 2px;
    background-image: linear-gradient(to right, var(--accent1) 50%, transparent 50%);
    background-size: 10px 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.step-card:nth-child(odd)::after {
    left: 100%;
    width: 48%;
}

.step-card:nth-child(even):after {
    right: 100%;
    width: 48%;
}

.step-card:nth-child(odd):hover::after {
    opacity: 1;
    animation: dash-draw-right 0.6s linear forwards, dash-flow 1s linear infinite 0.6s;
}

.step-card:nth-child(even):hover::after {
    opacity: 1;
    animation: dash-draw-left 0.6s linear forwards, dash-flow-reverse 1s linear infinite 0.6s;
}

@keyframes dash-draw-right {
    0% {
        width: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        width: 48%;
        opacity: 1;
    }
}

@keyframes dash-draw-left {
    0% {
        width: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        width: 48%;
        opacity: 1;
    }
}

@keyframes dash-flow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 0;
    }
}

@keyframes dash-flow-reverse {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -20px 0;
    }
}

/* Mission section centered zoom */
.mission-section p.animated-element {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer;
    margin: 0 auto 20px auto !important;
    display: block;
    width: fit-content;
    text-align: center;
    transform-origin: center center !important;
}

.mission-section p.animated-element:hover {
    transform: scale(1.08) !important;
    color: #00f5d4 !important;
    text-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
}