:root {
    --terracotta: #C65D3B;
    --cream: #F5EFE6;
    --fisherman-green: #4A6B5D;
    --warm-orange: #E07A3F;
    --dark-brown: #3E2F25;
    --light-brown: #6B5D4F;
    --gold: #D4A574;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dark-brown);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Sofra bezi (tablecloth) pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(198, 93, 59, 0.03) 35px, rgba(198, 93, 59, 0.03) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(198, 93, 59, 0.03) 35px, rgba(198, 93, 59, 0.03) 36px);
    pointer-events: none;
    z-index: 0;
}

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

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(198, 93, 59, 0.1);
}

.lang-toggle button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-brown);
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.lang-toggle button.active {
    color: var(--terracotta);
}

.lang-toggle span {
    color: var(--light-brown);
    margin: 0 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 50%, var(--cream) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(198, 93, 59, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 107, 93, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(224, 122, 63, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(198, 93, 59, 0.02) 40px, rgba(198, 93, 59, 0.02) 41px),
        repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(198, 93, 59, 0.02) 40px, rgba(198, 93, 59, 0.02) 41px);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-2%, -2%) scale(1.05); }
}

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

.hero-content {
    text-align: left;
}

.logo {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.logo img {
    width: 280px;
    height: auto;
    display: block;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--dark-brown);
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--light-brown);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    font-weight: 400;
}

.cta {
    display: inline-block;
    padding: 18px 48px;
    background: var(--terracotta);
    color: white;
    text-decoration: none;
    border-radius: 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    box-shadow: 0 4px 16px rgba(198, 93, 59, 0.2);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta:hover::before {
    width: 300px;
    height: 300px;
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(198, 93, 59, 0.3);
    background: var(--warm-orange);
}

.hero-visual {
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: rotate(2deg);
    transition: transform 0.4s;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 93, 59, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.solution-image {
    max-width: 600px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--terracotta);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 80px;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--terracotta);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(198, 93, 59, 0.08);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--warm-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card.highlight {
    background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
    border-color: rgba(74, 107, 93, 0.15);
}

.card.highlight::before {
    background: linear-gradient(90deg, var(--fisherman-green), #6B8E7F);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--dark-brown);
    margin-bottom: 16px;
    font-weight: 700;
}

.card p {
    color: var(--light-brown);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Stats */
.model {
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    text-align: center;
}

.stat {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    color: var(--terracotta);
    font-weight: 700;
}

.stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--terracotta);
    margin-bottom: 12px;
    line-height: 1;
}

.stat .label {
    font-size: 1.1rem;
    color: var(--light-brown);
    font-weight: 500;
}

/* Why Now */
.why-now ul {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.why-now li {
    font-size: 1.3rem;
    color: var(--light-brown);
    margin-bottom: 32px;
    padding-left: 48px;
    position: relative;
    line-height: 1.7;
    animation: fadeInLeft 0.6s ease-out backwards;
}

.why-now li:nth-child(1) { animation-delay: 0.1s; }
.why-now li:nth-child(2) { animation-delay: 0.2s; }
.why-now li:nth-child(3) { animation-delay: 0.3s; }
.why-now li:nth-child(4) { animation-delay: 0.4s; }

.why-now li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1;
}

/* Vision */
.vision {
    background: linear-gradient(135deg, var(--fisherman-green) 0%, #3A5A4D 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.vision::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vision .container {
    position: relative;
    z-index: 1;
}

.vision-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.vision h2 {
    color: white;
}

.vision h2::after {
    background: white;
}

.vision p {
    font-size: 1.6rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Contact */
.contact {
    background: white;
}

#contact-form {
    max-width: 640px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 24px;
    border: 2px solid var(--cream);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s;
    background: var(--cream);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: white;
    box-shadow: 0 0 0 4px rgba(198, 93, 59, 0.1);
}

#contact-form button {
    width: 100%;
    padding: 18px;
    background: var(--terracotta);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(198, 93, 59, 0.2);
}

#contact-form button:hover {
    background: var(--warm-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 93, 59, 0.3);
}

#form-status {
    margin-top: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

#form-status.success {
    color: var(--fisherman-green);
}

#form-status.error {
    color: var(--terracotta);
}

/* Footer */
footer {
    background: var(--dark-brown);
    color: white;
    text-align: center;
    padding: 60px 0 40px;
}

.footer-logo {
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-logo img {
    width: 180px;
    height: auto;
}

footer p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    h2 {
        font-size: 2.5rem;
    }

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

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .stat .number {
        font-size: 3.5rem;
    }

    .why-now li {
        font-size: 1.1rem;
        padding-left: 36px;
    }

    .vision p {
        font-size: 1.3rem;
    }
}
