/* ===========================
   SV FILE MANAGER — STYLE
=========================== */

:root {
    --teal:       #0d9488;
    --teal-light: #14b8a6;
    --teal-pale:  #ccfbf1;
    --dark:       #0f172a;
    --dark-mid:   #1e293b;
    --text:       #334155;
    --text-light: #64748b;
    --border:     #e2e8f0;
    --bg:         #f8fafc;
    --white:      #ffffff;
    --radius:     16px;
    --radius-lg:  24px;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
}

/* === RESET === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

h1 span, h2 span {
    background: linear-gradient(90deg, var(--teal), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal) 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(13,148,136,0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(13,148,136,0.50);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(8px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.btn.full-width { width: 100%; justify-content: center; }

/* ============================================================
   HEADER
============================================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
#header.scrolled { box-shadow: var(--shadow-md); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}
.nav-logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:hover { background: var(--teal-pale); }
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, #0f172a 0%, #134e4a 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbDrift 12s ease-in-out infinite alternate;
}
.orb1 { width: 500px; height: 500px; background: #0d9488; top: -100px; left: -100px; }
.orb2 { width: 400px; height: 400px; background: #0891b2; bottom: -50px; right: -50px; animation-delay: 3s; }
.orb3 { width: 300px; height: 300px; background: #6366f1; top: 50%; left: 50%; animation-delay: 6s; opacity: 0.15; }

@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13,148,136,0.2);
    border: 1px solid rgba(20,184,166,0.35);
    color: #5eead4;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-text h1 { color: white; margin-bottom: 20px; }
.hero-text p { color: rgba(255,255,255,0.70); font-size: 1.1rem; margin-bottom: 32px; max-width: 480px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.50); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* Phone mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(13,148,136,0.45), transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.phones-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    background: #1e293b;
    border-radius: 30px;
    padding: 10px 10px 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.phone-main {
    width: 200px;
    z-index: 2;
    animation: phoneFloat 4s ease-in-out infinite;
    position: relative;
}

.phone-side {
    width: 155px;
    opacity: 0.72;
    z-index: 1;
    animation: phoneFloat 4s ease-in-out infinite 0.8s;
}

.phone-left {
    transform: rotate(-8deg) translateX(22px) translateY(18px);
}

.phone-right {
    transform: rotate(8deg) translateX(-22px) translateY(18px);
}

@keyframes phoneFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.phone-left { animation: phoneFloatLeft 4s ease-in-out infinite 0.8s; }
.phone-right { animation: phoneFloatRight 4s ease-in-out infinite 1.4s; }

@keyframes phoneFloatLeft {
    0%,100% { transform: rotate(-8deg) translateX(22px) translateY(18px); }
    50% { transform: rotate(-8deg) translateX(22px) translateY(8px); }
}
@keyframes phoneFloatRight {
    0%,100% { transform: rotate(8deg) translateX(-22px) translateY(18px); }
    50% { transform: rotate(8deg) translateX(-22px) translateY(8px); }
}

.phone-notch {
    width: 50px; height: 6px;
    background: #0f172a;
    border-radius: 10px;
    margin: 0 auto 8px;
}
.phone-side .phone-notch { width: 40px; }

.phone-screen {
    border-radius: 20px;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 1220 / 2712;
    position: relative;
}
.phone-screen img, .phone-screen .slide {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
}

/* Slider (mobil) */
.phone-screen-slider {
    position: relative;
}
.phone-screen-slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    display: block;
}
.phone-screen-slider .slide:first-child {
    position: relative;
}
.phone-screen-slider .slide.active {
    opacity: 1;
    z-index: 1;
}
.phone-screen-slider .slide:not(.active) {
    z-index: 0;
}

.slider-dots {
    display: none;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.slider-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.slider-dots .dot.active {
    background: #14b8a6;
    width: 22px;
    border-radius: 4px;
}

/* ============================================================
   FEATURES
============================================================ */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 520px;
    margin-inline: auto;
}
.section-header.light h2, .section-header.light p { color: rgba(255,255,255,0.85); }

.section-tag {
    display: inline-block;
    background: var(--teal-pale);
    color: var(--teal);
    padding: 5px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-tag.light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

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

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,148,136,0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,148,136,0.2);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.feature-card h3 { margin-bottom: 10px; color: var(--dark); }
.feature-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   DOWNLOAD
============================================================ */
.download {
    padding: 100px 0;
    background: linear-gradient(145deg, #0f172a 0%, #134e4a 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-bg { position: absolute; inset: 0; z-index: 0; }
.dl-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}
.dl-orb1 { width: 400px; height: 400px; background: #0d9488; top: -100px; left: -100px; }
.dl-orb2 { width: 300px; height: 300px; background: #0891b2; bottom: -50px; right: -50px; }

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

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

.download-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 260px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.download-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(20,184,166,0.4);
}

.dl-icon { font-size: 2.4rem; }
.dl-info { display: flex; flex-direction: column; text-align: left; }
.dl-platform { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.dl-action { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; }
.dl-arrow {
    margin-left: auto;
    font-size: 1.3rem;
    color: var(--teal-light);
    transition: transform 0.2s;
}
.download-card:hover .dl-arrow { transform: translateX(5px); }

.download-note {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
    padding: 100px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag { margin-bottom: 14px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); margin-bottom: 32px; line-height: 1.75; }

.contact-links { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s ease;
}
.contact-link:hover {
    border-color: var(--teal-light);
    box-shadow: 0 4px 16px rgba(13,148,136,0.12);
    transform: translateX(4px);
}
.cl-icon { font-size: 1.5rem; }
.cl-label { display: block; font-size: 0.78rem; color: var(--text-light); }
.cl-val { font-weight: 600; color: var(--dark); }

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
}
.form-group input,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.97rem;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: white;
    box-shadow: 0 0 0 4px rgba(13,148,136,0.10);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-message {
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}
.form-message.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-message.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: var(--dark);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-light); }

.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.82rem; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links li a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links li:last-child a { border-bottom: none; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 24px;
        gap: 48px;
    }
    .hero-text { order: 1; }
    .hero-visual { order: 2; }
    .hero-text p { margin-inline: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }

    .phone-side { display: none; }
    .phones-group { justify-content: center; }
    .phone-main { width: 180px; }
    .slider-dots { display: flex; }
    
    .hero-visual { flex-direction: column; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 28px 20px; }

    .features { padding: 70px 0; }
    .download { padding: 70px 0; }
    .contact { padding: 70px 0; }

    .download-card { min-width: unset; width: 100%; max-width: 340px; }

    .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}
