/**
 * AntiqueGlass Website Styles
 * Color Scheme: Emerald Green / Antique Glass Theme
 */

/* CSS Variables */
:root {
    /* Primary Colors - Emerald Green Theme */
    --color-primary: #2E8B57;           /* Sea Green / Emerald */
    --color-primary-light: #48D1CC;     /* Medium Turquoise */
    --color-primary-dark: #1D5B38;      /* Dark Emerald */
    
    /* Background Colors */
    --color-bg-light: #FAFDF9;          /* Off White with Green Tint */
    --color-bg-cream: #E8F5E9;          /* Light Green Cream */
    --color-bg-card: #FFFFFF;
    --color-bg-dark: #0D2818;           /* Deep Forest */
    
    /* Text Colors */
    --color-text: #1A3C2B;              /* Dark Forest Text */
    --color-text-secondary: #4A6B5A;    /* Muted Green */
    --color-text-muted: #6B8E7A;        /* Lighter Muted Green */
    
    /* Accent Colors */
    --color-accent: #40E0D0;            /* Turquoise */
    --color-border: #D4E7DD;            /* Light Green Border */
    --color-success: #28A745;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 48px;
    --spacing-2xl: 80px;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(46, 139, 87, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-light) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(46, 139, 87, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--color-primary);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 600px;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 40px 80px rgba(46, 139, 87, 0.2);
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Section Styles */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: var(--color-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(64, 224, 208, 0.1));
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    background: var(--color-bg-cream);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.step:last-child {
    margin-bottom: 0;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--color-text-secondary);
    max-width: 360px;
}

.step-image {
    display: flex;
    justify-content: center;
}

.step-image img {
    max-height: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(46, 139, 87, 0.15);
}

/* Screenshots Section */
.screenshots {
    background: var(--color-bg-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-card {
    padding: 24px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.08);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 24px 50px rgba(46, 139, 87, 0.15);
}

.screenshot-card img {
    width: 100%;
    border-radius: var(--border-radius-md);
    display: block;
}

/* Categories Section */
.categories {
    background: var(--color-bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    padding: 32px;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    background: var(--color-bg-card);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 40px;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(46, 139, 87, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
}

.price .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
}

.price .period {
    color: var(--color-text-secondary);
}

.pricing-header p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.disabled {
    color: var(--color-text-muted);
}

.pricing-features svg {
    flex-shrink: 0;
    color: var(--color-success);
}

.pricing-features li.disabled svg {
    color: var(--color-text-muted);
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ Section */
.faq {
    background: var(--color-bg-cream);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--color-text-secondary);
}

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-light) 100%);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    margin-bottom: 16px;
}

.download > .container > p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0 24px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 54px;
    transition: var(--transition);
}

.store-badge:hover img {
    transform: scale(1.05);
}

.download-note {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--color-bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--color-text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .navbar .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step:nth-child(even) {
        direction: ltr;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .step-content p {
        max-width: none;
        margin: 0 auto;
    }
    
    .step-image {
        margin: 0 auto;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}
