/* Font Face */
@font-face {
    font-family: 'Shantel Sans';
    src: url('./fonts/shantel_sans_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Variables for Theme Colors (from Theme.kt) */
:root {
    /* Light Theme Colors */
    --primary-light: #638738;
    --on-primary-light: #FFFCF5;
    --secondary-light: rgba(46, 37, 20, 0.5);
    --on-secondary-light: #FFFFFF;
    --background-light: #FFFCF5;
    --on-background-light: #40392B;
    --surface-light: #FFFCF5;
    --on-surface-light: rgba(46, 37, 20, 0.5);
    
    /* Dark Theme Colors */
    --primary-dark: #A3C778;
    --on-primary-dark: #0A0700;
    --secondary-dark: rgba(235, 226, 209, 0.5);
    --on-secondary-dark: #FFFFFF;
    --background-dark: #0A0700;
    --on-background-dark: #D4CDBF;
    --surface-dark: #0A0700;
    --on-surface-dark: #E1E3DE;
    
    /* Custom Colors from Theme.kt */
    --secondary-text-light: rgba(46, 37, 20, 0.5);
    --stats-label-light: rgba(46, 37, 20, 0.5);
    --indicator-default-light: rgba(46, 37, 20, 0.2);
    --indicator-selected-light: #638738;
    --black-white-light: #000000;
    
    --secondary-text-dark: rgba(235, 226, 209, 0.5);
    --stats-label-dark: rgba(235, 226, 209, 0.5);
    --indicator-default-dark: rgba(235, 226, 209, 0.5);
    --indicator-selected-dark: #A3C778;
    --black-white-dark: #FFFFFF;
}

/* Theme Application */
.light-theme {
    --primary: var(--primary-light);
    --on-primary: var(--on-primary-light);
    --secondary: var(--secondary-light);
    --on-secondary: var(--on-secondary-light);
    --background: var(--background-light);
    --on-background: var(--on-background-light);
    --surface: var(--surface-light);
    --on-surface: var(--on-surface-light);
    --secondary-text: var(--secondary-text-light);
    --stats-label: var(--stats-label-light);
    --indicator-default: var(--indicator-default-light);
    --indicator-selected: var(--indicator-selected-light);
    --black-white: var(--black-white-light);
}

.dark-theme {
    --primary: var(--primary-dark);
    --on-primary: var(--on-primary-dark);
    --secondary: var(--secondary-dark);
    --on-secondary: var(--on-secondary-dark);
    --background: var(--background-dark);
    --on-background: var(--on-background-dark);
    --surface: var(--surface-dark);
    --on-surface: var(--on-surface-dark);
    --secondary-text: var(--secondary-text-dark);
    --stats-label: var(--stats-label-dark);
    --indicator-default: var(--indicator-default-dark);
    --indicator-selected: var(--indicator-selected-dark);
    --black-white: var(--black-white-dark);
}

/* Wobbly Border Effects - Clean hand-drawn style */
.wobbly-border {
    position: relative;
    border: 2px solid var(--on-background);
    background: transparent;
    
    /* Create irregular, hand-drawn border radius */
    border-radius: 20px 8px 15px 25px / 12px 30px 18px 6px;
    
    /* Add subtle hand-drawn irregularities with minimal box-shadows */
    box-shadow: 
        /* Just a few strategic bumps for wobbliness */
        1px -1px 0 0px var(--on-background),
        -1px 1px 0 0px var(--on-background),
        2px 0px 0 0px var(--on-background),
        0px 2px 0 0px var(--on-background),
        -1px 0px 0 0px var(--on-background),
        0px -1px 0 0px var(--on-background);
}

/* Dramatic Wobbly Border for special elements - Single layer */
.dramatic-wobbly-border {
    position: relative;
    border: 4px solid var(--primary);
    background: transparent;
    
    /* More dramatic irregular border radius with extreme variations */
    border-radius: 45px 3px 25px 50px / 5px 55px 30px 2px;
    
    /* Much more pronounced hand-drawn irregularities */
    box-shadow: 
        /* All around the border for maximum wobbliness */
        4px -3px 0 -1px var(--primary),
        10px -2px 0 -1px var(--primary),
        18px -4px 0 -1px var(--primary),
        25px -1px 0 -1px var(--primary),
        35px -3px 0 -1px var(--primary),
        3px 8px 0 -1px var(--primary),
        2px 15px 0 -1px var(--primary),
        4px 25px 0 -1px var(--primary),
        -1px 32px 0 -1px var(--primary),
        3px 42px 0 -1px var(--primary),
        -3px 4px 0 -1px var(--primary),
        -10px 3px 0 -1px var(--primary),
        -18px 2px 0 -1px var(--primary),
        -25px 4px 0 -1px var(--primary),
        -32px 2px 0 -1px var(--primary),
        -2px -8px 0 -1px var(--primary),
        -4px -15px 0 -1px var(--primary),
        -3px -22px 0 -1px var(--primary),
        -2px -30px 0 -1px var(--primary),
        -3px -38px 0 -1px var(--primary),
        /* Extra random bumps */
        6px 12px 0 -1px var(--primary),
        -5px 20px 0 -1px var(--primary),
        8px -12px 0 -1px var(--primary),
        -6px -18px 0 -1px var(--primary);
    
    /* Gentle animation for subtle movement */
    animation: wobble 4s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(1px, -1px) rotate(0.5deg) scale(1.001); 
    }
    50% { 
        transform: translate(-1px, 1px) rotate(-0.3deg) scale(0.999); 
    }
    75% { 
        transform: translate(0.5px, 0.5px) rotate(0.2deg) scale(1.001); 
    }
}

/* Hover effect for wobbly borders */
.wobbly-border-hover {
    transition: all 0.3s ease;
    position: relative;
}

.wobbly-border-hover:hover {
    transform: translate(1px, -1px);
    color: var(--primary);
}

.wobbly-border-hover:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    clip-path: polygon(
        0% 50%, 5% 20%, 12% 80%, 18% 30%, 25% 70%, 32% 40%, 38% 90%, 
        45% 10%, 52% 60%, 58% 35%, 65% 75%, 72% 25%, 78% 65%, 85% 45%, 
        92% 85%, 97% 15%, 100% 55%
    );
}

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

body {
    font-family: 'Shantel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--background);
    color: var(--on-background);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--surface);
    border-bottom: 2px solid var(--primary);
    padding: 12px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-link {
    color: var(--on-background);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.header-link:hover {
    background: var(--primary);
    color: var(--on-primary);
    transform: translateY(-1px);
}

.header-theme-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.header-theme-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.theme-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: invert(0);
}

.dark-theme .theme-icon {
    filter: invert(1);
}

.light-icon {
    display: block;
}

.dark-icon {
    display: none;
}

.dark-theme .light-icon {
    display: none;
}

.dark-theme .dark-icon {
    display: block;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.03;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -30px) rotate(3deg); }
}

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

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px 40px;
    background: var(--surface);
    border-radius: 20px;
    transform: rotate(-2deg);
    animation: gentle-wobble 6s ease-in-out infinite;
}

@keyframes gentle-wobble {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(1deg); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--on-background);
    margin-bottom: 16px;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--secondary-text);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    background: transparent;
}

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

.btn-primary:hover {
    background: var(--indicator-selected);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--surface);
    color: var(--on-surface);
    border: 2px solid var(--indicator-default);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.google-play-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-play-badge {
    height: 60px;
    width: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.google-play-button:hover .google-play-badge {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--surface);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    transition: transform 0.3s ease;
    position: relative;
    background: linear-gradient(145deg, var(--surface), var(--background));
}

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

.screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

.light-screenshot {
    display: block;
}

.dark-screenshot {
    display: none;
}

.dark-theme .light-screenshot {
    display: none;
}

.dark-theme .dark-screenshot {
    display: block;
}

.app-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.mic-button {
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--on-primary);
    position: relative;
    animation: mic-pulse 2s ease-in-out infinite;
}

.mic-button::after {
    content: '🎤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes mic-pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 var(--primary); 
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 0 0 0 20px transparent; 
    }
}

.voice-waves {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wave {
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 2px;
    animation: wave-animation 1.5s ease-in-out infinite;
    opacity: 0.7;
}

.wave:nth-child(1) { animation-delay: 0s; height: 15px; }
.wave:nth-child(2) { animation-delay: 0.2s; height: 25px; }
.wave:nth-child(3) { animation-delay: 0.4s; height: 18px; }

@keyframes wave-animation {
    0%, 100% { 
        transform: scaleY(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: scaleY(1.8); 
        opacity: 1; 
    }
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--indicator-default);
}

.social-proof .container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.rating-card, .stat-card {
    background: var(--background);
    padding: 30px;
    text-align: center;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    min-width: 250px;
    /* Clean wobbly border */
    border: 2px solid var(--on-background);
    border-radius: 18px 8px 20px 25px / 12px 28px 15px 10px;
    box-shadow: 
        1px -1px 0 0px var(--on-background),
        -1px 1px 0 0px var(--on-background),
        2px 0px 0 0px var(--on-background),
        0px 2px 0 0px var(--on-background),
        -1px 0px 0 0px var(--on-background),
        0px -1px 0 0px var(--on-background),
        0 10px 30px rgba(0, 0, 0, 0.1);
}

.rating-card:hover, .stat-card:hover {
    transform: rotate(1deg) scale(1.02);
}

.rating-card .stars {
    font-size: 24px;
    margin-bottom: 10px;
}

.rating-card .rating {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.rating-card .store {
    color: var(--secondary-text);
    font-size: 14px;
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}

.stat-card .stat-text {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.4;
}

/* Sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
    display: inline-block;
    width: 100%;
    padding: 20px;
    background: var(--surface);
    border-radius: 20px;
    transform: rotate(-1deg);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--background);
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    /* Clean wobbly border */
    border: 2px solid var(--on-background);
    border-radius: 20px 5px 15px 28px / 10px 32px 18px 8px;
    box-shadow: 
        1px -1px 0 0px var(--on-background),
        -1px 1px 0 0px var(--on-background),
        2px 0px 0 0px var(--on-background),
        0px 2px 0 0px var(--on-background),
        -1px 0px 0 0px var(--on-background),
        0px -1px 0 0px var(--on-background),
        0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:nth-child(even) {
    transform: rotate(1deg);
}

.testimonial-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.testimonial-card .stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffd700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-background);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--on-background);
    font-size: 16px;
    margin-bottom: 2px;
}

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

.features {
    padding: 100px 0;
    background: var(--background);
}

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

.feature-card {
    background: var(--surface);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    transform: rotate(0deg);
    /* Clean wobbly border */
    border: 2px solid var(--on-background);
    border-radius: 22px 6px 18px 28px / 10px 32px 15px 8px;
    box-shadow: 
        1px -1px 0 0px var(--on-background),
        -1px 1px 0 0px var(--on-background),
        2px 0px 0 0px var(--on-background),
        0px 2px 0 0px var(--on-background),
        -1px 0px 0 0px var(--on-background),
        0px -1px 0 0px var(--on-background),
        0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card:nth-child(odd) {
    transform: rotate(-2deg);
}

.feature-card:nth-child(even) {
    transform: rotate(2deg);
}

.feature-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    color: var(--on-primary);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-svg-icon {
    width: 120px;
    height: 120px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(18%) saturate(1217%) hue-rotate(45deg) brightness(87%) contrast(87%);
}

.dark-theme .feature-svg-icon {
    filter: brightness(0) saturate(100%) invert(86%) sepia(15%) saturate(955%) hue-rotate(39deg) brightness(87%) contrast(86%);
}

.feature-card h3 {
    font-size: 24px;
    color: var(--black-white);
    margin-bottom: 16px;
    font-weight: 600;
}

.feature-card p {
    color: var(--secondary-text);
    line-height: 1.6;
    font-size: 16px;
}

/* Screenshots */
.screenshots {
    padding: 100px 0;
    background: var(--surface);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.screenshot {
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.screenshot:nth-child(2) {
    transform: rotate(2deg) translateY(-20px);
}

.screenshot:nth-child(3) {
    transform: rotate(-1deg) translateY(-10px);
}

.screenshot:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
}

.screen-mockup {
    background: var(--background);
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.screenshot-image {
    flex: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.screenshot-label {
    background: var(--primary);
    color: var(--on-primary);
    padding: 8px 15px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    /* Clean wobbly border for labels */
    border: 1px solid var(--primary);
    border-radius: 12px 4px 10px 16px / 8px 18px 12px 6px;
    box-shadow: 
        1px 0px 0 0px var(--primary),
        -1px 0px 0 0px var(--primary),
        0px 1px 0 0px var(--primary),
        0px -1px 0 0px var(--primary);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.faq-item {
    background: var(--surface);
    padding: 30px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    /* Clean wobbly border */
    border: 2px solid var(--on-background);
    border-radius: 25px 5px 18px 30px / 8px 35px 12px 6px;
    box-shadow: 
        1px -1px 0 0px var(--on-background),
        -1px 1px 0 0px var(--on-background),
        2px 0px 0 0px var(--on-background),
        0px 2px 0 0px var(--on-background),
        -1px 0px 0 0px var(--on-background),
        0px -1px 0 0px var(--on-background),
        0 8px 25px rgba(0, 0, 0, 0.05);
}

.faq-item:nth-child(even) {
    transform: rotate(1deg);
}

.faq-item:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer {
    color: var(--secondary-text);
    line-height: 1.6;
    font-size: 16px;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 80px 0 30px;
    border-top: 1px solid var(--indicator-default);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px 25px;
    background: var(--background);
    border-radius: 15px;
    transform: rotate(-2deg);
}

.footer-brand p {
    color: var(--secondary-text);
    font-size: 16px;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.link-group h4 {
    color: var(--on-surface);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.link-group ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--indicator-default);
    color: var(--secondary-text);
    font-size: 14px;
    padding: 20px;
    background: var(--background);
    border-radius: 15px;
    margin-top: 30px;
    transform: rotate(-0.5deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    /* Header Navigation Responsive Styles */
    .header-container {
        padding: 0 15px;
    }
    
    .header-brand {
        gap: 8px;
    }
    
    .header-logo {
        width: 30px;
        height: 30px;
    }
    
    .header-title {
        font-size: 1rem;
        display: none; /* Hide on smaller tablets */
    }
    
    .header-nav {
        gap: 10px;
    }
    
    .header-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .header-theme-btn {
        padding: 6px 10px;
        font-size: 16px;
    }
    
    /* Hero and other sections */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: rotate(0deg);
    }
    
    .social-proof .container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .screenshot {
        transform: rotate(0deg);
    }
    
    .screenshot:nth-child(2),
    .screenshot:nth-child(3) {
        transform: rotate(0deg) translateY(0);
    }
}

@media (max-width: 480px) {
    /* Header Navigation Mobile Styles */
    .sticky-header {
        padding: 8px 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }
    
    .header-brand {
        width: 100%;
        justify-content: center;
    }
    
    .header-title {
        display: block; /* Show title on mobile */
        font-size: 0.9rem;
    }
    
    .header-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .header-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .header-theme-btn {
        padding: 5px 8px;
        font-size: 14px;
    }
    
    /* General container and sections */
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 30px; /* Increased top padding for expanded mobile header */
    }
    
    .theme-toggle {
        top: 15px;
        right: 15px;
        padding: 10px;
        font-size: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .faq-item,
    .rating-card,
    .stat-card {
        transform: rotate(0deg);
    }
    
    .feature-card:hover,
    .faq-item:hover {
        transform: translateY(-5px);
    }
}

/* Additional animations for enhanced wobbly feel */
@keyframes subtle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.feature-icon {
    animation: subtle-float 3s ease-in-out infinite;
}

.feature-icon:nth-child(odd) {
    animation-delay: 0.5s;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .theme-toggle {
        display: none;
    }
    
    .wobbly-border::before,
    .wobbly-border::after,
    .dramatic-wobbly-border::before,
    .dramatic-wobbly-border::after {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}