/* ==================== */
/* CSS Variables & Reset */
/* ==================== */

:root {
    --primary-color: #006fff;
    --primary-color-dark: #005acf;
    --hero-color: #002e6b;
    --primary-dark: #3a24df;
    --secondary-color: #11d4ad;
    --accent-color: #ffae00;
    
    --bg-color: #1e2232;
    --surface-color: #FFFFFF;
    --navbar-bg: rgba(22, 35, 73, 0.8);
    --navbar-text: #FFFFFF;
    --text-primary: #ffffff;
    --text-primary-dark: #2c3145;
    --text-secondary: #545964;
    --border-color: #E5E7EB;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glass Text */
    --text-glass-white: rgba(255, 255, 255, 1.0);
    --text-glass-black: rgba(0, 0, 0, 0.9);
    --text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);

    /* Background Images */
    --hero-bg-image: url("../Assets/lake.webp");
    --showcase-bg-image: url("../Assets/desktop.webp");
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none !important;
}

/* img {
    image-rendering: crisp-edges;
    filter: none; 
    -webkit-filter: blur(0px); 
    -moz-filter: blur(0px); 
    -ms-filter: blur(0px);
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='0');
  } */

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

/* ==================== */
/* Navigation */
/* ==================== */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--navbar-text);
    text-decoration: none;
}

.nav-logo img {
    width: auto;
    height: 50px;
}

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

.nav-link {
    color: var(--navbar-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 60%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navbar-text);
    border-radius: 3px;
    transition: var(--transition);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    scale: 0;
}

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

/* ==================== */
/* Hero Section */
/* ==================== */

.hero {
    position: relative;
    min-height: 140vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 24px 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}
.parallax-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-color);
    opacity: 0.2;
    z-index: -1;
}

.shadow-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgb(16 6 139), rgba(255, 255, 255, 0));
    z-index: 20;
}

.shadow-effect-reversed {
    display: block;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0 , 0, 0, 0.4), rgba(255, 255, 255, 0));
    z-index: 20;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-glass-white);
    animation: fadeInUp 0.8s ease;
    text-shadow: var(--text-shadow);
}

.hero-title-span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--text-glass-white);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    text-shadow: var(--text-shadow);
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-primary-dark);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}
.hero-image-container {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-lg);
}
.hero-image {
    position: absolute;
    left: 50%;
    padding: 0;
    backdrop-filter: blur(20px);
    transform: translateZ(0);
    transform: translateX(-50%) translateY(2%) scale(1);
    z-index: 10;
    pointer-events: none;
    object-fit: cover;
    border-radius: var(--radius-md);
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, 
                opacity 0.3s ease-out;
}

.hero-image img {
    max-width: 80vw;
    max-height: 60vh;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    transform: translateZ(0);
}

/* ==================== */
/* Showcase Section */
/* ==================== */

.showcase {
    padding: 100px 24px;
    background: var(--showcase-bg-image);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.showcase-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.showcase-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.showcase-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-primary);
    margin-bottom: 60px;
}

.showcase-image-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.showcase-image-container .hero-image {
    position: relative;
    left: auto;
    bottom: auto;
    transform: translateX(0) translateY(0) scale(1);
}

/* ==================== */
/* Buttons */
/* ==================== */

.btn {
    display: inline-flex;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    padding: 16px 24px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    scale: 1.1;
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ==================== */
/* Placeholder Images */
/* ==================== */

.placeholder-image {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px dashed var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 18px;
}

.placeholder-image.large {
    min-height: 500px;
}

.feature-placeholder {
    margin-top: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

/* ==================== */
/* Features Section */
/* ==================== */

.features {
    /* padding: 100px 0; */
    background: var(--surface-color);
}

.features-header {
    padding: 0 24px;
    margin-top: 80px;
    margin-bottom: 80px;
}
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    position: relative;
    top: 10px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary-dark);
}

.section-title-icon {
    width: 5rem;
    height: 5rem;
    margin-left: 8px;
    display: inline-block;
}

.section-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 60px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.feature-row.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.feature-row:nth-child(even) {
    background: var(--surface-color);
}

.feature-row-reverse .feature-image {
    order: 2;
}

.feature-row-reverse .feature-content {
    order: 1;
}

.feature-content {
    padding: 0 20px;
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

.feature-content h3 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary-dark);
    line-height: 1.2;
}

.feature-content p {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-image {
    width: 100%;
    height: 100%;
}

.feature-image video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    transform: scale(0.85);
    opacity: 0.7;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s ease,
                border-color 0.3s ease;
}

.feature-row.animate-in .feature-image video {
    transform: scale(1);
    opacity: 1;
}

.feature-row:hover .feature-image video {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.feature-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.feature-row:hover .feature-placeholder {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.gear-img {
    width: 24px;
    height: 23px;
    vertical-align: middle;
    margin: 0 4px;
}

.right-click-img {
    width: 92px;
    height: auto;
    vertical-align: middle;
    margin: 0 4px;
}

.finder-img {
    width: 46px;
    height: 46px;
    vertical-align: middle;
    margin: 0 4px;
}
/* ==================== */
/* Download Section */
/* ==================== */

.download {
    padding: 100px 24px;
    background: linear-gradient(135deg, #005acf 0%, #038b70 50%, #3a24df 100%);
    background-size: 200% 200%;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 135, 255, 0.3), transparent 50%);
    pointer-events: none;
}

.download-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    color: var(--text-glass-white);
    transform: translateY(30px);
    position: relative;
    z-index: 1;
}

.download-content.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.download-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.download-content > p {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.download-otmas {
    text-decoration: none;
    display: inline-flex;
    text-align: left;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 1);
    color: white;
    border: 2px solid white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.download-otmas:hover {
    scale: 1.1;
    box-shadow: var(--shadow-lg);
}

.mac-app-store-icon {
    width: 64px;
    height: 64px;
    margin-right: 8px;
}

.small-text-white {
    font-size: 14px;
    color: white;
}

.large-text-white {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.badge-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.download-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* Footer */
/* ==================== */

.footer {
    background: var(--surface-color);
    padding: 60px 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary-dark);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ==================== */
/* Animations */
/* ==================== */

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

/* ==================== */
/* Responsive Design */
/* ==================== */

@media (max-width: 768px) {
    .navbar {
        top: 16px;
        width: calc(100% - 32px);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%) scale(0.95);
        width: calc(100% - 32px);
        max-width: 500px;
        background: rgba(0, 0, 0, 1.0);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        z-index: 999;
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.active {
        transform: translateX(-50%) scale(1);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 24px 60px;
    }
    
    .hero-image {
        object-fit: fill;
        height: 0;
    }

    .showcase {
        min-height: 80vh;
        display: flex;
        gap: 50px;
        align-items:flex-start;
        justify-content:flex-start;
    }

    .showcase-description {
        margin-bottom: 0px;
    }

    .showcase-image-container {
        margin-top: 50px;
        min-height: inherit;
    }

    .features {
        padding: 0;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px;
    }
    
    .feature-content {
        order: 1;
        padding: 0;
    }
    
    .feature-image {
        order: 2;
    }
    
    .feature-row-reverse .feature-image {
        order: 2;
    }
    
    .feature-row-reverse .feature-content {
        order: 1;
    }
    
    .feature-placeholder {
        min-height: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .download-info {
        flex-direction: column;
        align-items: stretch;
    }
}
