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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a2a3a;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 25%, #80deea 50%, #81d4fa 75%, #4fc3f7 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url('./3.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(178, 235, 242, 0.75) 0%,
        rgba(128, 222, 234, 0.7) 30%,
        rgba(129, 212, 250, 0.7) 70%,
        rgba(79, 195, 247, 0.75) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00838f, #0277bd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: #1a2a3a;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(0, 131, 143, 0.1);
    color: #00838f;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #1a2a3a;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 40px 80px;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background: url('./1.jpg') center/cover no-repeat;
    opacity: 0.08;
    filter: blur(2px);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(178, 235, 242, 0.4) 0%,
        rgba(128, 222, 234, 0.2) 50%,
        rgba(129, 212, 250, 0.4) 100%
    );
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.banner-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #00838f;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 131, 143, 0.15);
}

.banner-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.1;
    color: #1a2a3a;
    letter-spacing: -2px;
}

.title-line.accent {
    background: linear-gradient(135deg, #00838f, #0277bd, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.8;
    color: #37474f;
    max-width: 620px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.banner-scroll {
    margin-top: 20px;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #00838f;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounceDown 2s infinite;
}

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

.banner-float-img {
    position: absolute;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.banner-float-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-1 {
    width: 160px;
    height: 340px;
    top: 15%;
    left: 5%;
    transform: rotate(-6deg);
    opacity: 0.7;
}

.float-2 {
    width: 140px;
    height: 300px;
    bottom: 10%;
    right: 5%;
    transform: rotate(6deg);
    opacity: 0.7;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(0, 131, 143, 0.08);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00838f;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #1a2a3a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.05rem;
    color: #546e7a;
    line-height: 1.8;
    font-weight: 300;
}

.intro {
    padding: 100px 40px;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 120px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #0277bd);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 131, 143, 0.12);
    background: rgba(255, 255, 255, 0.7);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(2, 119, 189, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: #00838f;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #00bcd4, #0277bd);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #607d8b;
    line-height: 1.7;
    font-weight: 300;
}

.stagger-section {
    max-width: 1200px;
    margin: 0 auto;
}

.stagger-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
}

.stagger-row:last-child {
    margin-bottom: 0;
}

.stagger-row.reverse {
    direction: rtl;
}

.stagger-row.reverse > * {
    direction: ltr;
}

.stagger-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(2, 119, 189, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.stagger-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.stagger-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: #546e7a;
    font-weight: 300;
}

.stagger-img {
    display: flex;
    justify-content: center;
}

.img-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
}

.ratio-9-20 {
    width: 240px;
    aspect-ratio: 9 / 20;
}

.ratio-9-20 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stagger-row:nth-child(odd) .stagger-img {
    justify-content: flex-end;
}

.stagger-row:nth-child(even) .stagger-img {
    justify-content: flex-start;
}

.stagger-row:nth-child(1) .img-wrapper {
    transform: rotate(2deg);
}
.stagger-row:nth-child(1) .img-wrapper:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.stagger-row:nth-child(2) .img-wrapper {
    transform: rotate(-3deg);
}
.stagger-row:nth-child(2) .img-wrapper:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.stagger-row:nth-child(3) .img-wrapper {
    transform: rotate(1.5deg);
}
.stagger-row:nth-child(3) .img-wrapper:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.stagger-row:nth-child(4) .img-wrapper {
    transform: rotate(-2deg);
}
.stagger-row:nth-child(4) .img-wrapper:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.stagger-row:nth-child(5) .img-wrapper {
    transform: rotate(2.5deg);
}
.stagger-row:nth-child(5) .img-wrapper:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.screenshots {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.screenshots-carousel {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.screenshot-item {
    width: 220px;
    aspect-ratio: 9 / 20;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-shrink: 0;
}

.screenshot-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.screenshot-item:nth-child(odd) {
    transform: translateY(30px);
}

.screenshot-item:nth-child(even) {
    transform: translateY(-10px);
}

.screenshot-item:hover {
    transform: translateY(-16px) scale(1.05);
    box-shadow: 0 32px 80px rgba(0, 131, 143, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer {
    background: rgba(10, 30, 50, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: #b0bec5;
    padding: 80px 40px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.4), transparent);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    -webkit-text-fill-color: #fff;
    background: none;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #78909c;
    font-weight: 300;
}

.footer-nav h4,
.footer-contact h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-nav a {
    display: block;
    color: #78909c;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: all 0.3s ease;
    font-weight: 300;
}

.footer-nav a:hover {
    color: #00bcd4;
    padding-left: 8px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #78909c;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 300;
}

.email-link:hover {
    color: #00bcd4;
}

.email-link i {
    color: #00bcd4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #546e7a;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-row.animate-on-scroll.visible:nth-child(odd) .img-wrapper {
    transform: rotate(2deg);
}

.stagger-row.animate-on-scroll.visible:nth-child(even) .img-wrapper {
    transform: rotate(-3deg);
}

.feature-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.screenshot-item.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.screenshot-item.animate-on-scroll:nth-child(3) {
    transition-delay: 0.15s;
}

.screenshot-item.animate-on-scroll:nth-child(4) {
    transition-delay: 0.2s;
}

.screenshot-item.animate-on-scroll:nth-child(5) {
    transition-delay: 0.25s;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .float-1,
    .float-2 {
        display: none;
    }

    .stagger-row {
        gap: 40px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 20px;
        border-radius: 12px;
    }

    .banner {
        padding: 120px 24px 60px;
        min-height: 100vh;
    }

    .banner-subtitle {
        font-size: 0.95rem;
    }

    .intro {
        padding: 60px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 80px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .stagger-row {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 60px;
        text-align: center;
    }

    .stagger-row.reverse {
        direction: ltr;
    }

    .stagger-row:nth-child(odd) .stagger-img,
    .stagger-row:nth-child(even) .stagger-img {
        justify-content: center;
    }

    .stagger-row .stagger-img {
        order: -1;
    }

    .stagger-number {
        font-size: 3rem;
    }

    .stagger-text h3 {
        font-size: 1.3rem;
    }

    .ratio-9-20 {
        width: 200px;
    }

    .screenshots {
        padding: 60px 20px;
    }

    .screenshots-carousel {
        gap: 16px;
    }

    .screenshot-item {
        width: 160px;
    }

    .footer {
        padding: 60px 24px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .title-line {
        letter-spacing: -1px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .screenshot-item {
        width: 130px;
    }

    .screenshot-item:nth-child(odd) {
        transform: translateY(16px);
    }

    .screenshot-item:nth-child(even) {
        transform: translateY(-6px);
    }

    .ratio-9-20 {
        width: 170px;
    }
}
