@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Space+Grotesk:wght@700&display=swap');

:root {
    --primary: #C6F343; /* SquadFit Lime Green */
    --primary-dark: #b1da3c;
    --primary-foreground: #0F0F11;
    --secondary: #303036;
    --bg-dark: #0E0E11; /* Match app background */
    --bg-card: #17171C; /* Match app card */
    --text-main: #FAFAFA;
    --text-muted: #86868C;
    --text-dim: #606060;
    --border-color: #303036;
    --transition-speed: 0.3s;
    --anim-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.reveal {
    animation: fadeIn 1s var(--anim-curve) forwards;
}

.slide-reveal {
    animation: slideInRight 1.2s var(--anim-curve) forwards;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

section {
    padding: 6rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 16px; /* Match app radius */
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary);
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
    color: black;
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: black;
}

/* Nav Bar */
nav {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo img {
    height: 32px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul a {
    color: var(--text-muted);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    padding-top: 10rem;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s var(--anim-curve) forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s var(--anim-curve) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-btns {
    animation: fadeIn 1.2s var(--anim-curve) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.app-screenshot {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    animation: slideInRight 1.2s var(--anim-curve) forwards;
}

.iphone-frame {
    width: 100%;
    border-radius: 40px;
    border: 12px solid #222;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background: #000;
    overflow: hidden;
}

.iphone-frame img {
    width: 100%;
    display: block;
}

/* Logos Section */
.logos {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.logos p {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}

.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-grid span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-speed);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Why Choose Us */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition-speed);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--text-main);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.pricing-features li.disabled {
    color: var(--text-dim);
    text-decoration: line-through;
}

.pricing-features li.disabled::before {
    content: '×';
    color: var(--text-dim);
}

/* Review Section */
.review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.stars {
    color: #ffcc00;
    margin-bottom: 1rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 0.9rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    padding-top: 1rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('assets/hero-bg.jpg'); /* placeholder for bg */
    background-size: cover;
    border-radius: 40px;
    padding: 6rem 2rem;
    margin-bottom: 6rem;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

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

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

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

@media (max-width: 968px) {
    .hero-grid, .feature-main, .feature-grid, .stats-grid, .review-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero {
        text-align: center;
        padding-top: 8rem;
    }
    
    .app-screenshot {
        margin-top: 4rem;
    }
    
    .nav-links {
        display: none;
    }
}
