/* Ninshoma - Aave Inspired Design */
:root {
    /* Core Palette */
    --bg-main: #FFFFFF;
    --bg-secondary: #F7F7F9;
    --text-main: #000000;
    --text-secondary: #5C5C68;
    --text-link: #4D66E5;

    /* Brand Colors */
    --primary: #7C6FFF;
    /* Ninshoma Purple */
    --primary-aave: #9F8BFF;
    /* Lighter purple for Aave vibe */
    --accent-gradient: linear-gradient(90deg, #8C7CFF 0%, #6C5DD3 100%);

    /* UI Elements */
    --btn-radius: 9999px;
    --card-radius: 24px;
    --nav-height: 80px;

    /* Spacing */
    --container-width: 1200px;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-phone: 0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #0D0D12;
        --bg-secondary: #16161D;
        --text-main: #FFFFFF;
        --text-secondary: #A0A0B0;
        --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.2);
        --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.3);
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(13, 13, 18, 0.9);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

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

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

.logo img {
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-main);
}

.btn-header {
    background: var(--text-main);
    color: var(--bg-main);
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-header:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    /* Using Inter to match Aave's clean look */
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    /* Slightly less bold than before */
    letter-spacing: -0.03em;
    color: var(--text-main);
    line-height: 1.1;
}

.hero-brand-name {
    font-size: 1.2em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(124, 111, 255, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-highlight-box {
    background: rgba(124, 111, 255, 0.05);
    border: 1px solid rgba(124, 111, 255, 0.15);
    border-radius: 99px;
    /* Pill shape */
    padding: 10px 24px;
    margin: 0 auto 24px;
    width: fit-content;
    color: var(--text-secondary);
    font-size: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    /* Keep on one line */
}

.hero-highlight-box:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
}

.hero-highlight-box strong {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile adjustment for the long text */
@media (max-width: 768px) {
    .hero-highlight-box {
        white-space: normal;
        border-radius: 16px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

.highlight-link {
    color: var(--text-link);
    text-decoration: none;
    border-bottom: 1px solid rgba(77, 102, 229, 0.3);
    padding-bottom: 1px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient);
    color: white;
    padding: 16px 32px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(108, 93, 211, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108, 93, 211, 0.4);
}

/* Phones Display */
.phones-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 80px;
    height: 600px;
    position: relative;
}

.phone-mockup {
    width: 300px;
    border-radius: 40px;
    border: 8px solid #121212;
    background: #000;
    overflow: hidden;
    box-shadow: var(--shadow-phone);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.phone-left {
    transform: translateX(80px) scale(0.85) translateY(20px);
    z-index: 1;
    opacity: 0.9;
}

.phone-right {
    transform: translateX(-80px) scale(0.85) translateY(20px);
    z-index: 1;
    opacity: 0.9;
}

.phone-center {
    z-index: 2;
    transform: translateY(-20px);
    border-width: 10px;
}

.phones-container:hover .phone-left {
    transform: translateX(40px) scale(0.85) translateY(20px) rotate(-5deg);
}

.phones-container:hover .phone-right {
    transform: translateX(-40px) scale(0.85) translateY(20px) rotate(5deg);
}

.phones-container:hover .phone-center {
    transform: translateY(-40px) scale(1.02);
}

/* Feature Grid (Aave style minimalist) */
.features-section {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-main);
    padding: 32px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .phones-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 20px;
    }

    .phone-left,
    .phone-right,
    .phone-center {
        transform: none !important;
        width: 100%;
        max-width: 280px;
    }

    .nav-links {
        display: none;
        /* Simple hide for now, assuming mobile menu exists */
    }
}

/* Languages Section */
.languages-section {
    padding: var(--space-xl) 0;
    background: var(--bg-main);
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lang-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.lang-pill {
    background: var(--bg-secondary);
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.lang-pill:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Pricing Section */
.pricing-section {
    padding: var(--space-xl) 0;
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-header {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    border-radius: var(--btn-radius);
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-plan.primary {
    background: var(--text-main);
    color: var(--bg-main);
}

.btn-plan.secondary {
    background: var(--bg-secondary);
    color: var(--text-main);
}

.btn-plan:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}