/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

@media (max-width: 480px) {
    .hero-section {
        height: 35vh !important;
        min-height: 200px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 375px) {
    .hero-section {
        height: 35vh;
        min-height: 200px;
        margin-bottom: 12px;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-section picture {
    display: block;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: 
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            rgba(0, 0, 0, 0.15) 2px,
            transparent 4px,
            transparent 8px
        ),
        repeating-conic-gradient(
            from 0deg,
            transparent 0deg,
            rgba(255, 255, 255, 0.1) 2deg,
            transparent 4deg,
            transparent 15deg
        ),
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 3;
    pointer-events: none;
    animation: noiseReveal 3s ease-out forwards;
    opacity: 0;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.3) 25%,
            transparent 25%,
            transparent 75%,
            rgba(0, 0, 0, 0.3) 75%
        ),
        linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 75%,
            rgba(255, 255, 255, 0.15) 75%
        );
    background-size: 8px 8px;
    animation: noiseGrain 0.1s steps(8) infinite;
    opacity: 0.8;
}

@keyframes noiseReveal {
    0% {
        opacity: 1;
        transform: scale(1.1);
        filter: blur(15px) brightness(0.3);
    }
    20% {
        opacity: 0.9;
        transform: scale(1.05);
        filter: blur(10px) brightness(0.5);
    }
    40% {
        opacity: 0.7;
        transform: scale(1.02);
        filter: blur(5px) brightness(0.7);
    }
    60% {
        opacity: 0.4;
        transform: scale(1.01);
        filter: blur(2px) brightness(0.9);
    }
    80% {
        opacity: 0.2;
        transform: scale(1);
        filter: blur(0px) brightness(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
        filter: blur(0px) brightness(1);
    }
}

@keyframes noiseGrain {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    12.5% {
        transform: translate(-4px, -4px) rotate(1deg);
    }
    25% {
        transform: translate(4px, 4px) rotate(-1deg);
    }
    37.5% {
        transform: translate(-4px, 4px) rotate(2deg);
    }
    50% {
        transform: translate(4px, -4px) rotate(-2deg);
    }
    62.5% {
        transform: translate(-2px, 0) rotate(1deg);
    }
    75% {
        transform: translate(2px, 0) rotate(-1deg);
    }
    87.5% {
        transform: translate(0, -2px) rotate(0deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    max-width: 1200px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    z-index: 10;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.3s both;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-align: center;
}

.hero-subtitle span {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.6em;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease-out 0.5s both;
    font-family: 'Inter', sans-serif;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: var(--light-blue);
}

/* About Section */
.about-section {
    padding: var(--section-padding) 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.about-content {
    text-align: center;
    animation: fadeIn 1.5s ease-out;
    position: relative;
    z-index: 1;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2xl);
    font-weight: 700;
    position: relative;
    display: inline-block;
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    animation: expandWidth 2s ease-out;
}

.about-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-primary);
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features Section */
.features-section {
    padding: var(--section-padding) 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-blue) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--element-gap);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: var(--space-xl) var(--space-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 168, 232, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
    animation: fadeInUp 0.8s ease-out both;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 232, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--dark-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 168, 232, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
        bottom: 22%;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        margin-bottom: var(--space-lg);
        letter-spacing: 0.03em;
    }
    
    .about-section {
        padding: 2.5rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 1rem;
        bottom: 22%;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1.3rem);
        margin-bottom: var(--space-lg);
        line-height: 1.4;
        letter-spacing: 0.02em;
    }
    
    .hero-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .about-section {
        padding: 2.5rem 1rem;
    }
    
    .about-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: var(--space-xl);
    }
    
    .features-section {
        padding: 2.5rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .feature-card {
        padding: var(--space-lg) var(--space-md);
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 375px) {
    .hero-section {
        height: 35vh;
        min-height: 200px;
        margin-bottom: 12px;
    }
    
    .hero-content {
        bottom: 28%;
        padding: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 1.2rem);
        margin-bottom: 1rem;
        letter-spacing: 0.02em;
    }
    
    .hero-cta {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .features-section {
        padding: 2rem 1rem;
    }
}

@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        height: 80vh;
        min-height: 300px;
    }
    
    .hero-content {
        bottom: 5%;
        padding: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.75rem, 2.5vw, 1rem);
        margin-bottom: 0.75rem;
        letter-spacing: 0.02em;
    }
    
    .hero-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .about-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        line-height: 1.5;
    }
    
    .features-section {
        padding: 2rem 1rem 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: 85vh;
        min-height: 300px;
    }
    
    .hero-content {
        bottom: 5%;
        padding: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.75rem, 2.5vw, 1rem);
        margin-bottom: 0.75rem;
        letter-spacing: 0.02em;
    }
    
    .hero-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 1.2rem 0.75rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
}
