/* ============================================
   EKONIX - MINIMALIST DESIGN WITH ANIMATED ORB
   ============================================ */

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

:root {
    --primary: #007AFF;
    --secondary: #AF52DE;
    --accent: #34C759;
    --white: #FFFFFF;
    --gray: #8E8E93;
    --black: #000000;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   ANIMATED GRADIENT ORB (THE EYE-CATCHER)
   ============================================ */

.orb {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
        rgba(0, 122, 255, 0.3) 0%,
        rgba(175, 82, 222, 0.2) 40%,
        rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-100px, 100px) scale(1.1);
    }
    66% {
        transform: translate(100px, -100px) scale(0.9);
    }
}

/* Grid background pattern */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   HEADER
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-image {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-simple {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-simple:hover {
    opacity: 0.7;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 110px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Stats badges */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat-badge {
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 122, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary {
    display: inline-block;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-download.is-disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.btn-download.is-disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-download.is-disabled::after {
    opacity: 0;
}

.btn-download::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 100px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-download:hover::after {
    opacity: 0.2;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    position: relative;
    padding: 160px 32px;
}

.features .container {
    max-width: 900px;
}

.feature-block {
    position: relative;
    margin-bottom: 120px;
    padding-bottom: 120px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-block:hover {
    transform: translateX(8px);
}

.feature-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(175, 82, 222, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-block:hover .feature-icon {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(175, 82, 222, 0.2));
    transform: scale(1.05);
}

.feature-number {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.feature-block h2 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
    position: relative;
}

.feature-block h2::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.feature-block:hover h2::before {
    height: 60%;
}

.feature-block p {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--gray);
    line-height: 1.6;
    max-width: 700px;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    position: relative;
    padding: 160px 32px;
    text-align: center;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.pricing-heading {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.pricing-intro {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 64px;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    flex: 1;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(175, 82, 222, 0.15));
    border: 2px solid rgba(0, 122, 255, 0.4);
    padding: 48px 32px;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-4px);
    border-color: rgba(0, 122, 255, 0.6);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 100px;
}

.plan-name {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pricing-card.featured .plan-name {
    color: var(--white);
}

.plan-price {
    font-size: clamp(48px, 8vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    line-height: 1;
}

.plan-price .currency {
    font-size: 0.5em;
    vertical-align: super;
    opacity: 0.7;
}

.plan-price .period {
    font-size: 0.35em;
    font-weight: 500;
    opacity: 0.6;
}

.plan-desc {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 8px;
}

.plan-breakdown {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    position: relative;
    padding: 60px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-left .logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-left p {
    font-size: 14px;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 32px;
    position: relative;
    z-index: 10;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

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

/* ============================================
   POLICY PAGES
   ============================================ */

.policy-section {
    position: relative;
    padding: 140px 32px 100px;
    min-height: 100vh;
}

.policy-container {
    max-width: 800px;
}

.policy-container h1 {
    font-size: clamp(40px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.last-updated {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 48px;
}

.policy-container h2 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-top: 56px;
    margin-bottom: 20px;
}

.policy-container h3 {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
}

.policy-container p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 24px;
    padding-left: 28px;
}

.policy-container li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 12px;
}

.policy-container a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.policy-container a:hover {
    color: var(--secondary);
}

.policy-container strong {
    color: var(--white);
    font-weight: 600;
}

.highlight-box {
    background: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 32px 0;
}

.highlight-box p {
    margin-bottom: 12px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.back-link {
    display: inline-block;
    margin-top: 48px;
    font-size: 16px;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.2s;
}

.back-link:hover {
    color: var(--white);
    transform: translateX(-4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

    .orb {
        width: 500px;
        height: 500px;
        top: -10%;
        right: -30%;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero h1 br {
        display: none;
    }

    .stats-row {
        gap: 16px;
    }

    .header-actions {
        gap: 12px;
    }

    .stat-badge {
        padding: 12px 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .features {
        padding: 100px 24px;
    }

    .feature-block {
        margin-bottom: 80px;
        padding-bottom: 80px;
    }

    .feature-block h2::before {
        display: none;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
    }

    .feature-icon svg {
        width: 32px;
        height: 32px;
    }

    .pricing {
        padding: 100px 24px;
    }

    .pricing-cards {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1.02) translateY(-4px);
    }

    .policy-section {
        padding: 100px 24px 80px;
    }

    .policy-container h2 {
        margin-top: 40px;
    }

    footer {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

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

    .logo {
        font-size: 20px;
        gap: 8px;
    }

    .logo-image {
        height: 28px;
        width: 28px;
    }

    .btn-simple {
        font-size: 14px;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .hero-cta {
        width: 100%;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
    }

    .orb {
        width: 300px;
        height: 300px;
    }
}
