/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Colors */
    --primary: #DE3138;
    /* The red from the design */
    --primary-hover: #c4272d;
    --primary-light: #fbecec;

    --warning: #F5A623;
    /* The yellow from the design */
    --warning-light: #fef6e9;

    --dark: #111827;
    --dark-blue: #1A2238;
    --text-main: #334155;
    --text-muted: #64748B;

    --bg-light: #F8FAFC;
    --white: #FFFFFF;

    --green: #10B981;
    --border: #E2E8F0;

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Layout */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    top: 0px !important;
    /* Prevent Google Translate from pushing body down */
}

/* Hide Google Translate default elements */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-warning {
    color: var(--warning);
}

.text-green {
    color: var(--green);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--text-muted);
}

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

/* Section Headers */
.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.2;
}

.divider-line {
    display: inline-block;
    width: 60px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 3px;
    margin-bottom: 15px;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.bg-red-light {
    background-color: var(--primary-light);
}

.bg-yellow-light {
    background-color: var(--warning-light);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

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

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

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

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

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

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

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu ul li a {
    font-weight: 500;
    color: var(--text-main);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    font-weight: 600;
    color: var(--text-main);
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 60px 0 80px;
    background: radial-gradient(circle at 100% 0%, #fff0f0 0%, #ffffff 40%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.feature-list li i {
    margin-top: 4px;
}

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

.trust-metrics {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-icon {
    width: 32px;
    height: 32px;
    font-size: 24px;
}

.metric div {
    display: flex;
    flex-direction: column;
}

.metric strong {
    font-size: 1.1rem;
    color: var(--dark);
}

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

/* Hero Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-student {
    width: 100%;
    border-radius: var(--radius-xl);
    z-index: 1;
    position: relative;
    background-color: #f0f0f0;
    /* fallback */
    min-height: 400px;
    object-fit: cover;
}

.hero-phone {
    position: absolute;
    right: -63px;
    bottom: -40px;
    width: 250px;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    border-radius: 30px;
    background-color: #fff;
    min-height: 500px;
    /* Placeholder aspect ratio */
}

.ai-badge {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 10px 20px rgba(229, 57, 53, 0.3);
    z-index: 3;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-points {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 8px;
}

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

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.features-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-phone {
    width: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    border-radius: 35px;
    background-color: #fff;
    min-height: 600px;
}

.floating-text {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Handlee', cursive;
    /* Approximation for handwriting */
    font-size: 1.1rem;
    color: var(--dark);
    max-width: 150px;
    text-align: right;
}

.floating-text i {
    display: block;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.features-content {
    flex: 1;
}

.features-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--dark);
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-item p {
    color: var(--text-muted);
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
    background-color: var(--dark-blue);
    padding: 40px 0;
    margin: 40px 20px;
    border-radius: var(--radius-xl);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-text h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    padding: 80px 0;
}

.section-header {
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.divider-line {
    height: 1px;
    width: 40px;
    background-color: var(--primary);
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: calc(33.333% - 20px);
    flex: 1;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
}

.quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 15px;
    flex-grow: 1;
}

.stars {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

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

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Trusted By
   ========================================================================== */
.trusted-by {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trusted-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.arrow-right {
    font-size: 1.2rem;
}

.exam-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.exam-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    color: var(--dark);
}

.exam-badge img {
    height: 24px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    letter-spacing: 1px;
}

.card-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-card.popular .card-header {
    padding-top: 40px;
    border-bottom: none;
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.pricing-card.popular .period {
    color: rgba(255, 255, 255, 0.8);
}

.card-body {
    padding: 30px 20px;
    flex-grow: 1;
}

.card-body .feature-list {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 0;
}

.card-footer {
    padding: 20px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 40px 0 80px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #B91C1C 100%);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.cta-deco-left {
    position: absolute;
    left: 40px;
    bottom: 40px;
    transform: rotate(-15deg);
    z-index: 1;
}

.cta-deco-right {
    position: absolute;
    right: 40px;
    top: 40px;
    z-index: 1;
}

.cta-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-btn:hover {
    transform: translateY(-3px);
}

.app-btn img {
    height: 28px;
    width: auto;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.btn-text span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.btn-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-visual {
    position: absolute;
    right: 80px;
    bottom: -60px;
    /* Overlap bottom */
    z-index: 2;
    transform: rotate(10deg);
}

/* CSS Phone Mockup */
.cta-visual {
    position: absolute;
    right: 110px;
    bottom: -80px;
    z-index: 10;
    transform: rotate(12deg);
    transition: transform 0.3s ease;
}

.cta-visual:hover {
    transform: rotate(8deg) translateY(-10px);
}

.css-phone-mockup {
    width: 240px;
    height: 480px;
    background-color: #ffffff;
    border-radius: 36px;
    box-shadow: -20px 30px 50px rgba(0, 0, 0, 0.4), inset 0 0 0 8px #0f1010;
    padding: 10px;
    position: relative;
    border: 1px solid #0f1010;
}

.css-phone-screen {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Notch */
.css-phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #0f172a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.css-phone-header {
    background-color: transparent;
    height: 45%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-bottom: 20px;
}

.css-phone-header img {
    height: 80px;
}

.css-phone-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 20px;
    text-align: center;
}

.css-phone-body h3 {
    color: var(--dark);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-transform: uppercase;
}

.css-phone-body p {
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding-top: 80px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 32px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: background-color 0.3s ease;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-app-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-btn-small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.app-btn-small:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-list,
    .hero-actions,
    .trust-metrics {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-phone {
        right: 0;
        position: relative;
    }

    .ai-badge {
        right: -20px;
    }

    .features-container {
        flex-direction: column-reverse;
    }

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

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 300px;
        /* Space for phone at bottom */
    }

    .app-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-visual {
        right: 50%;
        transform: translateX(50%) rotate(10deg);
        bottom: -40px;
    }

    .cta-visual:hover {
        transform: translateX(50%) rotate(6deg) translateY(-10px);
    }

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

    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    .css-phone-mockup {
        width: 190px;
        height: 330px;
    }

    .css-phone-body h3 {
        font-size: 20PX;
    }

    .cta-visual {
        bottom: -60px;
    }

    .nav-menu {
        display: none;
        /* Hide default menu, needs JS for mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        align-items: flex-start;
        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .feature-list {
        flex-direction: column;
        align-items: center;
    }

    .trust-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        min-width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .brand-col {
        grid-column: span 1;
    }
}