/* Reset and General Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-obsidian: hsl(240, 10%, 4%);
    --bg-panel: hsla(240, 10%, 8%, 0.85);
    --bg-panel-hover: hsla(240, 10%, 12%, 0.95);
    --bg-panel-border: hsla(240, 8%, 18%, 0.6);
    --bg-panel-border-hover: hsla(0, 0%, 100%, 0.4);
    
    --accent: hsl(0, 0%, 100%); /* Pure White */
    --accent-silver: hsl(240, 5%, 65%);
    --accent-glow: rgba(255, 255, 255, 0.04);
    --accent-glow-strong: rgba(255, 255, 255, 0.08);
    
    --text-primary: hsl(0, 0%, 98%);
    --text-secondary: hsl(240, 5%, 72%);
    --text-muted: hsl(240, 4%, 48%);
    
    --font-outfit: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-outfit);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Grid Pattern */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    pointer-events: none;
    z-index: -2;
    transition: transform 0.1s ease-out; /* Parallax smooth motion */
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background-color: var(--accent);
    width: 0%;
    z-index: 1100;
    transition: width 0.05s linear;
}

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

/* Typography Helpers (Clean, no bold, standard mapping) */
h1, h2, h3 {
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: hsla(240, 10%, 4%, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-panel-border);
    transition: var(--transition-normal);
}

.navbar-scrolled {
    background-color: hsla(240, 10%, 4%, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1); /* Monochrome White logo */
}

.nav-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    outline: none;
    letter-spacing: 0.5px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-primary {
    background-color: var(--accent);
    color: hsl(240, 10%, 4%);
    font-weight: 600;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.08);
}

.btn-secondary {
    background-color: hsla(240, 8%, 18%, 0.3);
    border: 1px solid var(--bg-panel-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: hsla(0, 0%, 100%, 0.05);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--bg-panel-border);
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-cheapest {
    display: inline-block;
    padding: 6px 14px;
    background-color: hsla(0, 0%, 100%, 0.02);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    border-radius: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 540px;
    font-weight: 300;
}

.hero-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px; /* Enable 3D rotation */
}

.hero-preview-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--bg-panel-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transition: transform 0.1s ease-out, border-color var(--transition-normal), box-shadow var(--transition-normal);
    transform-style: preserve-3d;
}

.hero-preview-img:hover {
    border-color: var(--bg-panel-border-hover);
    box-shadow: 0 25px 70px rgba(255, 255, 255, 0.05);
}

/* Sections Global */
.features-section, .showcase-section, .pricing-section, .faq-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 24px;
}

.section-divider {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    padding: 44px;
    border-radius: 6px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-panel-hover);
    border-color: var(--bg-panel-border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: hsla(0, 0%, 100%, 0.03);
    border: 1px solid var(--bg-panel-border);
    border-radius: 4px;
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-card-title {
    font-size: 20px;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 300;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
}

/* Showcase Section */
.showcase-rows {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.showcase-row {
    background-color: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: 6px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 48px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-normal);
}

.showcase-row:hover {
    border-color: var(--bg-panel-border-hover);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
}

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-media {
    flex: 1.35;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--bg-panel-border);
}

.showcase-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform var(--transition-normal);
}

.showcase-row:hover .showcase-image {
    transform: scale(1.01);
}

.showcase-content {
    flex: 0.65;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-row-title {
    font-size: 24px;
    font-weight: 500;
}

.showcase-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.pricing-card {
    background-color: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: 6px;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--bg-panel-border-hover);
}

.pricing-card-popular {
    border: 1px solid var(--accent);
    background-color: hsla(240, 10%, 8%, 0.95);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.02);
}

.pricing-card-popular:hover {
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.04);
}

.card-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-tag-popular {
    color: var(--text-primary);
    font-weight: 500;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-price {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
}

.card-period {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 6px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    min-height: 44px;
    font-weight: 300;
}

.card-features {
    list-style: none;
    width: 100%;
    margin-bottom: 40px;
}

.card-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid hsla(240, 8%, 18%, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 300;
}

.card-features li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--accent);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-panel);
    border: 1px solid var(--bg-panel-border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--bg-panel-border-hover);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
}

.faq-question {
    font-size: 16px;
    font-weight: 400;
    padding-right: 20px;
}

.faq-chevron {
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.faq-content p {
    padding: 0 24px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* FAQ Active state classes (controlled by JS) */
.faq-item-active {
    background-color: hsla(240, 10%, 8%, 0.95);
    border-color: var(--bg-panel-border-hover);
}

.faq-item-active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item-active .faq-question {
    color: var(--accent);
}

/* Footer */
.footer {
    border-top: 1px solid var(--bg-panel-border);
    padding: 60px 0;
    background-color: hsla(240, 10%, 3%, 0.6);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 20px;
    font-weight: 300;
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
}

/* Scroll-triggered reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition: 
        opacity var(--transition-slow),
        transform var(--transition-slow),
        filter var(--transition-slow);
}

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity var(--transition-slow),
        transform var(--transition-slow);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-row {
        flex-direction: column !important;
        gap: 32px;
        padding: 30px 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .navbar {
        height: auto;
    }
    
    .nav-container {
        height: 64px;
    }
}
