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

:root {
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --light-green: #86efac;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    padding-top: 70px; /* Space for fixed header */
}

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

@media (max-width: 768px) {
    body {
        padding-top: 80px; /* More space for mobile header */
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 90px; /* Even more space for small mobile header */
    }
    
    .container {
        padding: 0 12px;
    }
}

/* Top Bar */
.top-bar {
    background: var(--white);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 101;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-instagram {
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.top-instagram:hover {
    transform: scale(1.2);
    color: var(--primary-green);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.header.hidden {
    transform: translateY(-100%);
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-link:hover {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo h1 .logo-line {
    display: flex;
    align-items: center;
    line-height: 1;
}

.social-nav {
    display: flex;
    align-items: center;
}

.social-nav .header-instagram {
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-nav .header-instagram:hover {
    transform: scale(1.2);
    color: var(--primary-green);
}

.logo h1 .logo-main {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.logo h1 .logo-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    margin-top: 4px;
    line-height: 1;
    margin-bottom: 0;
}

.logo .domain-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.social-nav a {
    color: var(--text-dark);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-nav a:hover {
    transform: scale(1.2);
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--white);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}


.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button i {
    font-size: 1.2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease;
}

.gummy-bear-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gummy-bear-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    /* Remove white background if present */
    mix-blend-mode: multiply;
    background: transparent;
    object-fit: contain;
    display: block;
    /* Optimize video rendering */
    will-change: transform;
    backface-visibility: hidden;
}

/* Alternative: If mix-blend-mode doesn't work, use this instead */
.gummy-bear-image-alt {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    position: relative;
    z-index: 1;
    /* Remove white background using CSS filter */
    background-color: transparent;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(5px);
}

.gummy-bear-shadow {
    position: absolute;
    bottom: -20px;
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleX(1.2);
        opacity: 0.3;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: var(--bg-light);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 50px;
    background: transparent;
}

.form-group input::placeholder {
    color: var(--text-light);
}

.submit-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-button:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
    color: var(--primary-green);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Header mobile fixes */
    .header {
        padding: 0.4rem 0;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo h1 .logo-line {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .social-nav .header-instagram {
        font-size: 1.2rem;
    }
    
    .logo h1 .logo-main {
        font-size: 1.1rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .logo h1 .logo-subtitle {
        font-size: 0.7rem;
        margin-top: 0;
    }
    
    /* Hero section */
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .gummy-bear-image {
        max-width: 380px;
        width: 100%;
    }
    
    .gummy-bear-shadow {
        width: 150px;
        height: 25px;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: auto;
        max-width: 90%;
        white-space: nowrap;
        justify-content: center;
    }

    .form-group {
        flex-direction: column;
        border-radius: 20px;
    }

    .form-group input {
        border-radius: 20px;
    }

    .submit-button {
        border-radius: 20px;
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content h3 {
        font-size: 1.8rem;
    }
    
    .newsletter {
        padding: 3rem 0;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Header small mobile */
    .header {
        padding: 0.3rem 0;
    }
    
    .logo h1 {
        font-size: 0.95rem;
        line-height: 1.1;
    }
    
    .logo h1 .logo-line {
        gap: 0.4rem;
    }
    
    .social-nav .header-instagram {
        font-size: 1.1rem;
    }
    
    .logo h1 .logo-main {
        font-size: 0.95rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    
    .logo h1 .logo-subtitle {
        font-size: 0.65rem;
    }
    
    /* Hero small mobile */
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero .container {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: auto;
        max-width: 90%;
        min-height: 44px; /* Touch-friendly size */
        white-space: nowrap;
        justify-content: center;
    }
    
    .submit-button {
        min-height: 44px; /* Touch-friendly size */
    }

    .gummy-bear-image {
        max-width: 320px;
        width: 100%;
    }
    
    .gummy-bear-shadow {
        width: 100px;
        height: 20px;
    }
    
    /* Newsletter small mobile */
    .newsletter {
        padding: 2.5rem 0;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-content p {
        font-size: 0.95rem;
    }
    
    /* Features small mobile */
    .features {
        padding: 2.5rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

