:root {
    --ocean-deep: #4A8B9B;
    --ocean-medium: #5EAEAE;
    --ocean-light: #A9DCD3;
    --ocean-foam: #E8F5F5;
    --lavender: #B4B7C8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--ocean-foam);
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

.title-icon {
    border-radius: 2px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(232, 245, 245, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ocean-light);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    margin-left: -10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-deep);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--ocean-deep);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

.cta-button {
    padding: 0.75rem 1.75rem;
    background: var(--ocean-deep);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: var(--ocean-medium);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 99vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 5% 5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean-foam) 0%, #ffffff 100%);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    margin-top: 10rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 1000px;
    letter-spacing: -2px;
    color: var(--ocean-deep);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    color: rgb(169, 169, 169);
    margin-bottom: 3rem;
    max-width: 800px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-top: 8rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

.badge {
    height: 40px;
    opacity: 0.7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--ocean-medium);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--ocean-deep);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--ocean-medium);
    border: 2px solid var(--ocean-medium);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--ocean-medium);
    color: white;
}

/* Statement Section */
.statement {

    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, var(--ocean-foam));
}

.statement-large {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 1100px;
    margin: 0 auto 2rem;
    letter-spacing: -1.5px;
    color: var(--ocean-deep);
}

.statement-highlight {
    color: var(--ocean-medium);
    font-style: italic;
}

.statement p {
    font-size: 1.3rem;
    color: #666666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Problem Sections */
.problem-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--ocean-deep);
}

.problem-stat {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--ocean-medium);
}

.problem-content {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.problem-list {
    list-style: none;
    margin: 2rem 0;
}

.problem-list li {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.problem-list li:before {
    content: "—";
    position: absolute;
    left: 0;
}

.source {
    font-size: 0.95rem;
    color: #999999;
    font-style: italic;
    margin-top: 1rem;
}

/* Alternating background */
.problem-section:nth-child(even) {
    background: var(--ocean-foam);
    padding: 5rem 5%;
    margin: 0;
    max-width: 100%;
}

.problem-section:nth-child(even) .problem-title,
.problem-section:nth-child(even) .problem-stat,
.problem-section:nth-child(even) .problem-content,
.problem-section:nth-child(even) .problem-list li {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Solution Section */
.solution {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-medium) 100%);
    color: white;
}

.solution h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.solution-highlight {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0;
}

.solution p {
    font-size: 1.5rem;
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.solution-stat {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Video Section */
.video-section {
    padding: 6rem 5%;
    background: #ffffff;
}

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

.video-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--ocean-deep);
}

.video-content > p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-frame {
    background: var(--ocean-foam);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(74, 139, 155, 0.2);
    border: 3px solid var(--ocean-light);
    margin: 0 auto;
    max-width: 1200px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-medium) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 12px;
}

.video-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* App Prototype Section */
.app-prototype {
    padding: 6rem 5%;
    background: var(--ocean-foam);
}

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

.app-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--ocean-deep);
}

.app-content > p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.app-frame {
    height: 550;
    background:transparent;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(74, 139, 155, 0.15);
    border: 2px solid var(--ocean-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 139, 155, 0.25);
}

.app-image-wrapper {
    width: 75%;
    aspect-ratio: 8.8/18.3;
    border-radius: 40px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 1rem;
    margin-left: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-frame h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ocean-deep);
}

.app-frame p {
    font-size: 0.95rem;
    color: var(--lavender);
    line-height: 1.5;
}

/* Features Grid */
.features-simple {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.feature-simple {
    text-align: left;
}

.feature-simple h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: var(--ocean-deep);
}

.feature-simple p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
}

/* Device Section */
.device-showcase {
    padding: 6rem 5%;
    background: #ffffff;
}

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

.device-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: var(--ocean-deep);
}

.device-visual {
    background: var(--ocean-foam);
    border-radius: 20px;
    padding: 4rem;
    margin: 3rem 0;
    box-shadow: 0 4px 20px rgba(107, 156, 169, 0.15);
}

.device-icon {
    margin-bottom: 1rem;
    display: inline-block; 
}

.device-image {
    width: 500px;
    height: auto; 
    display: block;
    margin: 0 auto;
}

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

.spec-item {
    padding: 1.5rem;
    background: var(--ocean-foam);
    border-radius: 10px;
    border-left: 4px solid var(--ocean-medium);
}

.spec-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ocean-deep);
}

.spec-item p {
    color: var(--lavender);
    font-size: 1rem;
}

/* CTA Section */
.final-cta {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean-medium) 0%, var(--ocean-deep) 100%);
    color: white;
}

.final-cta h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.final-cta p {
    font-size: 1.3rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.final-cta .btn-primary {
    background: white;
    color: var(--ocean-deep);
}

.final-cta .btn-primary:hover {
    background: var(--ocean-foam);
}

/* Footer */
footer {
    padding: 0.5rem 5%;
    text-align: center;
    background: var(--ocean-foam);
    color: var(--lavender);
    font-size: 0.8rem;
}

/* Construction Popup */
.construction-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.construction-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.construction-content h3 {
    font-size: 1.8rem;
    color: var(--ocean-deep);
    margin-bottom: 1rem;
}

.construction-content p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.close-popup {
    padding: 0.75rem 2rem;
    background: var(--ocean-medium);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.close-popup:hover {
    background: var(--ocean-deep);
}



/* Responsive */
@media (max-width: 1200px) {
    .app-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 5% 3rem;
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .hero-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .statement {
        padding: 4rem 5%;
    }

    .statement-large {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .statement p {
        font-size: 1.1rem;
    }

    .problem-section {
        padding: 3rem 5%;
    }

    .problem-section:nth-child(even) {
        padding: 3rem 5%;
    }

    .problem-title {
        font-size: 1.8rem;
        letter-spacing: -0.5px;
    }

    .problem-stat {
        font-size: 2rem;
    }

    .problem-content {
        font-size: 1.05rem;
    }

    .problem-list li {
        font-size: 1rem;
    }

    .solution {
        padding: 5rem 5%;
    }

    .solution h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .solution-highlight {
        font-size: 1.8rem;
    }

    .solution p {
        font-size: 1.2rem;
    }

    .solution-stat {
        font-size: 2.5rem;
    }

    .features-simple {
        padding: 4rem 5%;
    }

    .features-grid-simple {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-simple h3 {
        font-size: 1.5rem;
    }

    .feature-simple p {
        font-size: 1rem;
    }

    .video-section {
        padding: 4rem 5%;
    }

    .video-content h2 {
        font-size: 2rem;
    }

    .video-frame {
        padding: 1.5rem;
    }

    .app-prototype {
        padding: 4rem 5%;
    }

    .app-content h2 {
        font-size: 2rem;
    }

    .app-content > p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Horizontal scrolling gallery for mobile */
    .app-gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        grid-template-columns: unset;
    }
    
    .app-gallery::-webkit-scrollbar {
        display: none;
    }
    
    .app-frame {
        flex: 0 0 85%;
        scroll-snap-align: center;
        max-width: 350px;
    }

    .device-showcase {
        padding: 4rem 5%;
    }

    .device-content h2 {
        font-size: 2rem;
    }

    .device-visual {
        padding: 2rem;
    }

    .device-image {
        width: 100%;
        max-width: 300px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spec-item {
        padding: 1.2rem;
    }

    .final-cta {
        padding: 5rem 5%;
    }

    .final-cta h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .final-cta p {
        font-size: 1.1rem;
    }

    footer {
        padding: 2rem 5%;
        font-size: 0.75rem;
    }

    .construction-content {
        margin: 0 1rem;
        padding: 2rem;
    }

    .construction-content h3 {
        font-size: 1.5rem;
    }

    .construction-content p {
        font-size: 1rem;
    }
}

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

    .hero p {
        font-size: 1rem;
    }

    .statement-large {
        font-size: 1.6rem;
    }

    .problem-title {
        font-size: 1.5rem;
    }

    .solution h2 {
        font-size: 2rem;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .video-content h2,
    .app-content h2,
    .device-content h2 {
        font-size: 1.8rem;
    }

    .app-content > p {
        font-size: 1rem;
    }

    /* Adjust gallery for smaller screens */
    .app-gallery {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .app-frame {
        flex: 0 0 90%;
        max-width: 320px;
    }

    .app-frame h4 {
        font-size: 1.1rem;
    }

    .app-frame p {
        font-size: 0.9rem;
    }
}