:root {
    --morandi-accent: #94A6AB;
    --morandi-green: #8CB399;
    --morandi-blue: #8CA6BF;
    --morandi-purple: #A68CB3;
    --morandi-orange: #D9B38C;
    --morandi-red: #BF8C8C;
    --morandi-teal: #7ABFB0;
    --morandi-text: #3A3A3A;
    --morandi-secondary: #8C8C8C;
    --morandi-bg: #F7F6F4;
    --morandi-card: #FFFFFF;
    --morandi-border: #E8E6E3;
    --gradient-primary: linear-gradient(135deg, #94A6AB 0%, #8CA6BF 50%, #A68CB3 100%);
    --gradient-hero: linear-gradient(160deg, #2C3E50 0%, #34495E 40%, #3D566E 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ========== Hero ========== */
.hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 100px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(148, 166, 171, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(140, 166, 191, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon-img {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
}

.badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* App Store Badge */
.appstore-link {
    display: inline-block;
    margin-top: 40px;
    transition: opacity 0.2s ease;
}

.appstore-link:hover {
    opacity: 0.8;
}

.appstore-link img {
    height: 48px;
}

/* ========== Container & Section ========== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 72px 0;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--morandi-secondary);
    font-size: 1rem;
    margin-bottom: 48px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: var(--morandi-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--morandi-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.feature-icon--terminal {
    background: linear-gradient(135deg, var(--morandi-accent), var(--morandi-blue));
}

.feature-icon--sftp {
    background: linear-gradient(135deg, var(--morandi-green), var(--morandi-teal));
}

.feature-icon--security {
    background: linear-gradient(135deg, var(--morandi-red), var(--morandi-orange));
}

.feature-icon--theme {
    background: linear-gradient(135deg, var(--morandi-purple), var(--morandi-blue));
}

.feature-icon--cloud {
    background: linear-gradient(135deg, var(--morandi-blue), var(--morandi-teal));
}

.feature-icon--monitor {
    background: linear-gradient(135deg, var(--morandi-orange), var(--morandi-green));
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--morandi-secondary);
    line-height: 1.65;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.feature-tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--morandi-bg);
    color: var(--morandi-secondary);
}

.feature-tag--pro {
    background: var(--morandi-orange);
    color: #fff;
}

/* ========== Highlights ========== */
.highlights {
    background: var(--morandi-card);
    border-top: 1px solid var(--morandi-border);
    border-bottom: 1px solid var(--morandi-border);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.highlight-item {
    padding: 12px;
}

.highlight-number {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--morandi-secondary);
    margin-top: 4px;
}

/* ========== Pricing ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--morandi-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--morandi-border);
    text-align: center;
    position: relative;
}

.pricing-card--pro {
    border-color: var(--morandi-orange);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--morandi-orange);
}

.pricing-card--pro::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--morandi-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
}

.pricing-tier {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--morandi-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.pricing-tier--pro {
    color: var(--morandi-orange);
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 0.82rem;
    color: var(--morandi-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
}

.pricing-features li {
    font-size: 0.88rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--morandi-text);
}

.pricing-features li::before {
    content: '✓';
    font-weight: 700;
    color: var(--morandi-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--morandi-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--morandi-red);
}

.pricing-features .pro-highlight {
    color: #C75B5B;
}

/* ========== Platform ========== */
.section--alt-bg {
    background: var(--morandi-card);
    border-top: 1px solid var(--morandi-border);
    border-bottom: 1px solid var(--morandi-border);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
}

.platform-card {
    background: var(--morandi-card);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--morandi-border);
}

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--morandi-border);
}

.platform-features {
    list-style: none;
    text-align: left;
}

.platform-features li {
    font-size: 0.85rem;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--morandi-text);
}

.platform-features li .pf-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ========== Tech ========== */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--morandi-card);
    border: 1px solid var(--morandi-border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--morandi-text);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.tech-pill:hover {
    transform: translateY(-2px);
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ========== Security ========== */
.security-list {
    max-width: 600px;
    margin: 0 auto;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--morandi-border);
}

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

.security-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--morandi-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.security-item p {
    font-size: 0.9rem;
    color: var(--morandi-text);
}

.security-item span {
    font-size: 0.8rem;
    color: var(--morandi-secondary);
}

/* ========== Footer ========== */
.footer {
    text-align: center;
    padding: 48px 24px;
    color: var(--morandi-secondary);
    font-size: 0.82rem;
    border-top: 1px solid var(--morandi-border);
}

.footer a {
    color: var(--morandi-accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero {
        padding: 72px 20px 56px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-badges {
        gap: 8px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.3s;
}

.animate-in:nth-child(5) {
    animation-delay: 0.4s;
}

.animate-in:nth-child(6) {
    animation-delay: 0.5s;
}