/* ========================================================
   FreshControl.pro | Premium Light Minimalist SaaS Theme
   Clean Apple/Shopify aesthetic with vibrant Emerald Green
   ======================================================== */

:root {
    --bg-color: #ffffff;       /* Pure snow white */
    --bg-secondary: #f8fafc;   /* Cool, clean Slate 50 background */
    --card-bg: #ffffff;        /* Pure white cards */
    
    --text-main: #0f172a;      /* Slate 900 - dark charcoal */
    --text-muted: #475569;     /* Slate 600 - cool grey-slate */
    --text-light: #94a3b8;     /* Slate 400 - light grey */
    
    --accent-green: #10b981;   /* Modern Emerald Green */
    --accent-green-hover: #059669;
    --accent-blue: #2563eb;    /* Royal link blue */
    
    --border-color: #e2e8f0;   /* Slate 200 - subtle silver border */
    --border-light: #f1f5f9;   /* Slate 100 - very light border */
    
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    --hover-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    color: var(--accent-green);
    font-weight: 800;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s;
}

.glass-panel:hover {
    border-color: var(--accent-green);
    box-shadow: var(--hover-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-1.5px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-green);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-pro {
    color: var(--accent-green);
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03), transparent 40%), var(--bg-secondary);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.badge-dot.green {
    background-color: var(--accent-green);
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* iPhone 15 Pro Titanium White Style */
.hero-device-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.iphone-15-pro {
    position: relative;
    width: 300px;
    height: 600px;
    background: #ffffff;
    border-radius: 44px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    border: 8px solid #dcdcdc; /* Silver-Titanium Frame */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.iphone-15-pro:hover {
    transform: rotateY(-6deg) rotateX(2deg) scale(1.01);
}

.iphone-15-pro::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1.5px solid #f3f3f3;
    border-radius: 41px;
    pointer-events: none;
    z-index: 10;
}

.iphone-screen-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    position: relative;
}

.iphone-dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 24px;
    background: #0f172a;
    border-radius: 20px;
    z-index: 15;
}

.iphone-camera-lens {
    position: absolute;
    top: 16px;
    right: 118px;
    width: 7px;
    height: 7px;
    background: #020617;
    border-radius: 50%;
    z-index: 16;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
}

.app-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Side buttons */
.iphone-side-buttons .button {
    position: absolute;
    left: -10px;
    width: 2px;
    background: #c0c0c0;
    border-radius: 2px 0 0 2px;
}
.iphone-side-buttons .ring-switch { top: 90px; height: 24px; }
.iphone-side-buttons .volume-up { top: 130px; height: 42px; }
.iphone-side-buttons .volume-down { top: 182px; height: 42px; }
.iphone-power-button {
    position: absolute;
    right: -10px;
    top: 140px;
    width: 2px;
    height: 56px;
    background: #c0c0c0;
    border-radius: 0 2px 2px 0;
}



/* Detailed Features */
.detailed-features {
    padding: 120px 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

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

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) .feature-text { order: 2; }
.feature-row:nth-child(even) .feature-image,
.feature-row:nth-child(even) .feature-image-placeholder-box { order: 1; }

.feature-row-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.feature-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

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

.feature-row-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--text-main);
}

.feature-row-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 750;
}

.feature-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
}

.feature-image-placeholder-box {
    width: 100%;
    height: 340px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image-svg {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.recommended {
    border: 2px solid var(--accent-green);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08);
}

.recommended-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.plan-header {
    margin-bottom: 30px;
    text-align: center;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 750;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 850;
    letter-spacing: -1px;
}

.plan-price span {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.plan-features {
    list-style: none;
    margin-bottom: 36px;
}

.plan-features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.plan-btn {
    width: 100%;
    margin-top: auto;
}

/* Download Section */
.download-section {
    padding: 100px 0;
}

.download-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    background-color: var(--bg-secondary);
}

.download-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.btn-large {
    padding: 16px 36px;
}

.install-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* FAQ Section */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 24px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
    outline: none;
    position: relative;
    padding-right: 40px;
    color: var(--text-main);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--text-light);
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--text-main);
}

.faq-answer {
    padding-top: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: none;
    margin-top: 0;
    font-size: 1rem;
}

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

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

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; gap: 30px; }
    
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        margin-bottom: 80px;
    }
    .feature-row:nth-child(even) .feature-text { order: 1; }
    .feature-row:nth-child(even) .feature-image,
    .feature-row:nth-child(even) .feature-image-placeholder-box { order: 2; }
    .feature-row-list li { text-align: left; }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}
