/* Landing Page Specific Styles */

.landing-body {
    overflow-y: auto;
    background-color: var(--bg-dark);
}

/* Navigation */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(9, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-main);
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-ghost {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 5% 100px;
    display: flex;
    justify-content: center;
    text-align: center;
    min-height: 90vh;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.6;
}

.hero-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(16, 185, 129, 0.05) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--panel-border);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--panel-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.logic-property-card {
    margin-top: 8px;
    padding: 28px;
    display: flex;
    gap: 18px;
    text-align: left;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.07));
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.logic-property-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-primary);
}

.logic-property-card h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.logic-property-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    background-color: var(--panel-bg);
    position: relative;
    border-top: 1px solid var(--panel-border);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.landing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 5%;
    border-top: 1px solid var(--panel-border);
    background-color: var(--bg-dark);
}

.footer-creator {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-social-links a {
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(16, 185, 129, 0.24);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.06);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-links svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: 0 0 auto;
}

.footer-social-links a:hover {
    color: var(--accent-glow);
    border-color: rgba(52, 211, 153, 0.52);
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.12);
    transform: translateY(-1px);
}

/* About Page */
.about-page {
    position: relative;
    overflow: hidden;
    padding: 150px 5% 92px;
    min-height: 100vh;
}

.about-hero,
.about-story {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
    gap: 48px;
    align-items: center;
}

.about-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.about-copy h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 850px;
}

.about-lead {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-social-links {
    margin-top: 4px;
}

.about-profile-card {
    padding: 24px;
    border: 1px solid rgba(16, 185, 129, 0.24);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.16), transparent 54%),
        rgba(17, 24, 39, 0.72);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
}

.profile-image-ring {
    padding: 8px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.74), rgba(6, 182, 212, 0.28));
    margin-bottom: 22px;
}

.profile-image-ring img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.about-profile-card h2 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.about-profile-card p {
    color: var(--text-muted);
    line-height: 1.65;
}

.about-story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.story-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.story-card > i {
    width: 38px;
    height: 38px;
    color: var(--accent-primary);
    margin-bottom: 18px;
}

.story-card h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.story-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.story-card-wide {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.story-card-wide .btn-primary {
    margin-top: 10px;
    text-decoration: none;
}

@media (max-width: 960px) {
    .landing-nav {
        padding: 16px 24px;
    }

    .nav-links {
        position: static;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding: 130px 24px 72px;
    }

    .hero-title {
        font-size: clamp(2.6rem, 9vw, 4.25rem);
    }

    .hero-subtitle {
        font-size: 1.08rem;
    }

    .hero-stats {
        width: 100%;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page {
        padding: 130px 24px 72px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-profile-card {
        max-width: 440px;
    }
}

@media (max-width: 640px) {
    .landing-nav {
        gap: 12px;
        align-items: center;
        padding: 12px 16px;
    }

    .landing-nav .brand {
        padding: 0;
        border-bottom: 0;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .btn-primary {
        padding: 9px 12px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .hero {
        padding: 112px 16px 56px;
    }

    .hero-content {
        gap: 18px;
    }

    .badge {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
        letter-spacing: -0.04em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions,
    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
        padding-top: 28px;
    }

    .logic-property-card {
        flex-direction: column;
        padding: 20px;
        border-radius: 16px;
    }

    .logic-property-card h2 {
        font-size: 1.15rem;
    }

    .features-section {
        padding: 64px 16px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .feature-card {
        padding: 28px 22px;
    }

    .landing-footer {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        padding: 26px 16px;
    }

    .landing-footer .brand {
        padding: 0;
        border-bottom: 0;
    }

    .footer-creator {
        align-items: center;
    }

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

    .about-page {
        padding: 112px 16px 56px;
    }

    .about-copy {
        align-items: center;
        text-align: center;
    }

    .about-copy h1 {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .about-lead {
        font-size: 1rem;
    }

    .about-profile-card,
    .story-card {
        padding: 20px;
        border-radius: 18px;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .story-card-wide {
        align-items: stretch;
    }

    .story-card-wide .btn-primary {
        justify-content: center;
    }
}
