/* 
   Count the kicks - Promotional Website
   Design System: Clean, Modern, Pink/White Theme
*/

:root {
    --primary-color: #FF2D55;
    /* Official Pink */
    --primary-dark: #D61A3C;
    --primary-light: #FF8EA0;
    --text-color: #1a1a1a;
    --text-secondary: #666666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f8f8;
    --card-bg: #ffffff;
    --gradient-hero: linear-gradient(135deg, #FFF0F3 0%, #FFFFFF 100%);
    --gradient-accent: linear-gradient(135deg, #FF2D55 0%, #FF5E7D 100%);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(255, 45, 85, 0.15);
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(255, 45, 85, 0.3);
}

.nav-cta {
    background: var(--text-color);
    color: white;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    background: rgba(255, 45, 85, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #1a1a1a, #4a4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Phone Mockup Animation */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.screen {
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.timer-ui {
    text-align: center;
}

.timer {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wave-visual {
    width: 200px;
    height: 8px;
    background: var(--primary-light);
    margin: 30px auto;
    border-radius: 4px;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scaleX(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.6;
    }

    100% {
        transform: scaleX(0.8);
        opacity: 0.3;
    }
}

/* App Clip Banner */
.app-clip-banner {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.clip-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.clip-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.clip-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

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

.clip-qr {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 20px;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Features Grid */
.features {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

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

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

/* Features Section (Redesigned) */
.features {
    padding: 80px 0;
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-row.reversed {
    flex-direction: row-reverse;
}

.feature-visual {
    flex: 1;
    position: relative;
    border-radius: 40px;
    /* Reduced from 48px to match image better if needed */
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}

.feature-visual:hover {
    transform: translateY(-10px);
}

.feature-mockup {
    width: 100%;
    border-radius: 40px;
    display: block;
    /* Ensure screenshots fit well */
    border: 8px solid white;
    background: white;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 450px;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--primary-color);
}

/* Updated Hero Image Styling */
.phone-mockup {
    /* Auto height now based on image */
    height: auto;
    width: 300px;
    /* Constrain width */
    background: #1a1a1a;
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.mockup-img {
    border-radius: 36px;
    width: 100%;
    display: block;
}

/* Responsive Updates */
@media (max-width: 900px) {

    .feature-row,
    .feature-row.reversed {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .feature-text p {
        margin: 0 auto;
    }

    .feature-visual {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .icon-circle {
        margin: 0 auto 24px;
    }

    .feature-text h3 {
        font-size: 2rem;
    }
}

/* Testimonials */
.testimonials {
    background: #1a1a1a;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

blockquote {
    font-size: 2rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.3;
}

cite {
    font-style: normal;
    opacity: 0.7;
}

.trust-badge {
    margin-top: 40px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #f1f1f1;
    color: #666;
    font-size: 0.9rem;
}

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

.footer-links a {
    margin-right: 24px;
    color: var(--text-color);
    font-weight: 500;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .phone-mockup {
        margin-bottom: 40px;
        transform: rotate(0);
    }

    .clip-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .clip-content p {
        margin: 0 auto;
    }

    footer .container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 12px;
    }
}