/* ============================================
   MEDYA BUTIK - Premium Landing Page
   Modern, Minimal & Elegant Design
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;

    /* Instagram Colors */
    --instagram: #E4405F;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    /* TikTok Colors */
    --tiktok: #000000;
    --tiktok-cyan: #25F4EE;
    --tiktok-pink: #FE2C55;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Background Animation === */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(236, 73, 153, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 2%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.logo span {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* === Platform Cards === */
.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.platform-card {
    position: relative;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--card-color) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-color);
    box-shadow: 0 20px 40px -15px var(--card-color);
}

.platform-card:hover::before {
    opacity: 0.1;
}

.platform-card.instagram {
    --card-color: var(--instagram);
}

.platform-card.tiktok {
    --card-color: var(--tiktok-pink);
}

.platform-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 2.5rem;
    transition: var(--transition);
}

.platform-card.instagram .platform-icon {
    background: var(--instagram-gradient);
    color: white;
}

.platform-card.tiktok .platform-icon {
    background: var(--tiktok);
    color: white;
    position: relative;
}

.platform-card.tiktok .platform-icon::before,
.platform-card.tiktok .platform-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    z-index: -1;
}

.platform-card.tiktok .platform-icon::before {
    background: var(--tiktok-cyan);
    transform: translate(-3px, -3px);
}

.platform-card.tiktok .platform-icon::after {
    background: var(--tiktok-pink);
    transform: translate(3px, 3px);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.platform-desc {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
}

.platform-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
    position: relative;
}

.platform-card:hover .platform-arrow {
    background: var(--card-color);
    transform: translateX(4px);
}

/* === Features Section === */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray-light);
    max-width: 500px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-desc {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* === Footer === */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

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

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-text {
    color: var(--gray);
    font-size: 0.875rem;
}

/* === Sub Page Styles === */
.subpage-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.subpage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    font-size: 3rem;
}

.subpage-icon.instagram {
    background: var(--instagram-gradient);
    color: white;
}

.subpage-icon.tiktok {
    background: var(--tiktok);
    color: white;
    position: relative;
}

.subpage-icon.tiktok::before,
.subpage-icon.tiktok::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    z-index: -1;
}

.subpage-icon.tiktok::before {
    background: var(--tiktok-cyan);
    transform: translate(-4px, -4px);
}

.subpage-icon.tiktok::after {
    background: var(--tiktok-pink);
    transform: translate(4px, 4px);
}

.subpage-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.subpage-desc {
    font-size: 1.125rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* === Content Section === */
.content-section {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.content-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.content-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.content-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.content-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-card-text {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.content-card-list {
    list-style: none;
    margin-top: 16px;
}

.content-card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.content-card-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* === CTA Button === */
.cta-section {
    text-align: center;
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 73, 153, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-desc {
    color: var(--gray-light);
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(99, 102, 241, 0.6);
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.cta-btn:hover svg {
    transform: translateX(4px);
}

/* === Back Link === */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--white);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* === Header CTA Button === */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 4px 15px -5px rgba(99, 102, 241, 0.5);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.6);
}

.header-cta svg {
    width: 18px;
    height: 18px;
}

/* === Order Button (Primary) === */
.order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 8px 25px -8px rgba(16, 185, 129, 0.5);
    border: none;
    cursor: pointer;
}

.order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px -8px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #059669, #047857);
}

.order-btn svg {
    width: 20px;
    height: 20px;
}

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

.order-btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px -8px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px -5px rgba(16, 185, 129, 0.8);
    }
}

/* === Card Order Button === */
.card-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 15px -5px rgba(16, 185, 129, 0.4);
}

.card-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.card-order-btn svg {
    width: 16px;
    height: 16px;
}

/* === Floating Order Button === */
.floating-order {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.6);
    transition: var(--transition);
    animation: floatBounce 3s ease-in-out infinite;
}

.floating-order:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px -10px rgba(16, 185, 129, 0.7);
}

.floating-order svg {
    width: 20px;
    height: 20px;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* === Hero Order Section === */
.hero-order {
    margin-top: 40px;
    padding: 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-order-text {
    color: var(--gray-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.hero-order-text strong {
    color: #10b981;
}

/* === Sticky Header Order === */
.sticky-order-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.sticky-order-bar.show {
    display: flex;
}

.sticky-order-bar p {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.sticky-order-bar p strong {
    color: var(--white);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }

    .platforms {
        grid-template-columns: 1fr;
    }

    .platform-card {
        padding: 32px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .cta-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .header-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .header-cta span {
        display: none;
    }

    .floating-order {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .floating-order span {
        display: none;
    }

    .order-btn.large {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* === Enhanced Footer === */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.5);
}

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

.footer-brand {
    max-width: 300px;
}

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

.footer-brand-text {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links a svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links a:hover svg {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

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

.footer-legal a {
    color: var(--gray);
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-copyright {
    color: var(--gray);
    font-size: 0.8rem;
}

/* === Legal Pages === */
.legal-page {
    padding: 140px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-date {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.legal-body {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--white);
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-body a:hover {
    color: var(--secondary);
}

/* Accordion for Footer */
.footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-accordion-header:hover {
    color: var(--white);
}

.footer-accordion-header svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.footer-accordion-item.active .footer-accordion-header svg {
    transform: rotate(180deg);
}

.footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.footer-accordion-item.active .footer-accordion-content {
    max-height: 300px;
}

.footer-accordion-links {
    padding-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-accordion-links a {
    color: var(--gray);
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* Footer Logo & About */
.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-about {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Footer Accordion Button Styling */
.footer-accordion-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

/* Legal Page Hero */
.legal-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.legal-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.legal-hero .back-link:hover {
    color: var(--white);
}

.legal-hero .back-link svg {
    width: 16px;
    height: 16px;
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-subtitle {
    color: var(--gray-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal Content Section */
.legal-content {
    padding: 0 0 80px;
}

.legal-box {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 12px;
    color: var(--white);
}

.legal-section p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 24px;
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul li {
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--primary);
    transition: var(--transition);
}

.legal-section a:hover {
    color: var(--secondary);
}

.legal-date {
    color: var(--gray);
    font-size: 0.9rem;
}

/* === Contact Page === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary);
}

.contact-highlight {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
    padding-bottom: 16px;
}

/* === About Page Values === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.value-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.value-item p {
    color: var(--gray-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Hide Footer Grid on Mobile, Show Accordion */
@media (min-width: 769px) {
    .footer-accordion {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        display: none;
    }

    .footer-accordion {
        display: block;
    }

    .footer-logo {
        text-align: center;
        margin-bottom: 24px;
    }

    .footer-about {
        text-align: center;
        margin-bottom: 24px;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .legal-box {
        padding: 32px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
