/* 
  Design System: Google Motion Lab
*/

:root {
    /* Base Colors */
    --color-bg: #FAFBFC;
    --color-surface: #FFFFFF;
    --color-ui-light: #F1F3F4;
    --color-ui-border: #E8EAED;
    
    /* Text Colors */
    --color-text-primary: #202124;
    --color-text-secondary: #5F6368;
    --color-text-muted: #80868B;
    
    /* Google Brand Colors */
    --color-google-blue: #4285F4;
    --color-google-red: #EA4335;
    --color-google-yellow: #FBBC05;
    --color-google-green: #34A853;
    
    /* Primary Action */
    --color-primary: var(--color-google-blue);
    --color-primary-hover: #3367D6;
    
    /* Fonts */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 6px rgba(32, 33, 36, 0.04);
    --shadow-md: 0 12px 24px rgba(32, 33, 36, 0.06);
    --shadow-lg: 0 24px 48px rgba(32, 33, 36, 0.08);
    --shadow-glow: 0 8px 32px rgba(66, 133, 244, 0.24);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.bg-glow--blue { top: -10%; left: -10%; background: var(--color-google-blue); }
.bg-glow--red { top: 20%; right: -10%; background: var(--color-google-red); width: 400px; height: 400px; }
.bg-glow--yellow { bottom: 10%; left: 10%; background: var(--color-google-yellow); width: 500px; height: 500px; }
.bg-glow--green { bottom: -5%; right: 5%; background: var(--color-google-green); width: 450px; height: 450px; }

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px; /* Pill shape */
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
    text-decoration: none;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.btn--secondary {
    background-color: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-ui-border);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background-color: var(--color-ui-light);
    border-color: #DADCE0;
    transform: translateY(-2px);
}

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

.btn--outline:hover {
    border-color: var(--color-text-primary);
    background-color: var(--color-ui-light);
}

/* Header */
.header {
    background-color: rgba(250, 251, 252, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(232, 234, 237, 0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

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

.nav__link {
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-text-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 18px;
}

/* Hero */
.hero {
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(66, 133, 244, 0.1);
    color: var(--color-google-blue);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-new__dot {
    width: 6px;
    height: 6px;
    background: var(--color-google-blue);
    border-radius: 50%;
}

.hero__title {
    font-size: 64px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__title span {
    color: var(--color-google-blue);
    position: relative;
    display: inline-block;
}

.hero__title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(66, 133, 244, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Hero Visual - Floating Cards */
.hero__visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.ui-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    will-change: transform;
}

.ui-card--main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.ui-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ui-card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-ui-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-google-blue);
}

.ui-card__title {
    font-weight: 700;
    font-size: 18px;
}

.ui-card__subtitle {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.ui-card__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
}

.rating-stars {
    color: var(--color-google-yellow);
    font-size: 20px;
    display: flex;
    gap: 4px;
}

.ui-card__bar {
    height: 8px;
    background: var(--color-ui-light);
    border-radius: 4px;
    overflow: hidden;
}

.ui-card__bar-fill {
    height: 100%;
    width: 85%;
    background: var(--color-google-green);
    border-radius: 4px;
}

.ui-card--review {
    top: 10%;
    right: -5%;
    width: 280px;
    z-index: 1;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
}

.review-stars {
    color: var(--color-google-yellow);
    font-size: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.ui-card--stats {
    bottom: 15%;
    left: 0;
    width: 220px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stats-icon {
    width: 40px;
    height: 40px;
    background: rgba(52, 168, 83, 0.1);
    color: var(--color-google-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stats-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
}

.stats-label {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}

.plan-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 1px solid var(--color-ui-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: #DADCE0;
}

.plan-card--featured {
    border: 2px solid var(--color-google-blue);
    box-shadow: var(--shadow-glow);
    padding: 48px 32px;
    transform: scale(1.05);
    z-index: 2;
}

.plan-card--featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 40px rgba(66, 133, 244, 0.3);
}

.plan-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-google-blue);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.plan-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-ui-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.plan-card__title {
    font-size: 24px;
    margin-bottom: 8px;
}

.plan-card__desc {
    color: var(--color-text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    min-height: 48px;
}

.plan-card__price {
    font-size: 40px;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-text-primary);
}

.plan-card__price span {
    font-size: 16px;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-family: var(--font-body);
}

.plan-card__features {
    margin-bottom: 40px;
}

.plan-card__features li {
    padding: 10px 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.plan-card__features li i {
    color: var(--color-google-green);
    font-size: 18px;
    margin-top: 2px;
}

.plan-card__btn {
    width: 100%;
}

/* Workflow */
.workflow {
    padding: 100px 0;
}

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

/* Connecting Line */
.workflow__steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: dashed 2px var(--color-ui-border);
    z-index: 0;
}

.workflow-step {
    position: relative;
    background: var(--color-surface);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-ui-border);
    box-shadow: var(--shadow-sm);
    z-index: 1;
    text-align: center;
    transition: transform var(--transition-base);
}

.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.workflow-step__icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border: 2px solid var(--color-ui-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-google-blue);
    margin: 0 auto 24px;
    position: relative;
}

.workflow-step__number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-google-blue);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #fff;
}

.workflow-step__title {
    font-size: 20px;
    margin-bottom: 12px;
}

.workflow-step__desc {
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
}

.final-cta__inner {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 80px 64px;
    text-align: center;
    border: 1px solid var(--color-ui-border);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.final-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.08), transparent 70%);
    z-index: 0;
}

.final-cta__content {
    position: relative;
    z-index: 1;
}

.final-cta__title {
    font-size: 48px;
    margin-bottom: 24px;
}

.final-cta__desc {
    color: var(--color-text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-ui-border);
    padding: 48px 0;
}

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

.footer__brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-google-blue);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .trust-strip {
        justify-content: center;
    }
    
    .hero__visual {
        height: 400px;
    }
    
    .pricing__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .plan-card--featured {
        transform: none;
    }
    
    .plan-card--featured:hover {
        transform: translateY(-8px);
    }
    
    .workflow__steps::before {
        display: none;
    }
    
    .workflow__steps {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
    }
    
    .hero__title {
        font-size: 44px;
    }
    
    .ui-card--review {
        display: none; /* Hide on small screens to avoid clutter */
    }
    
    .ui-card--stats {
        bottom: 0;
    }
    
    .workflow__steps {
        grid-template-columns: 1fr;
    }
    
    .final-cta__inner {
        padding: 48px 24px;
    }
    
    .final-cta__title {
        font-size: 36px;
    }
}
