/* ========================================
   SFE Landing Page - CI Design
   Based on SteexInteractionTheme
   ======================================== */

:root {
    /* CI Colors from SteexInteractionTheme */
    --primary: #0ab39c;
    --primary-dark: #099885;
    --primary-light: #e0f5f3;
    --primary-200: #6fd4c4;

    --secondary: #495057;
    --secondary-light: #f3f6f9;

    --info: #299cdb;
    --info-light: #e3f3fb;

    --success: #0ab39c;
    --warning: #f7b84b;
    --warning-light: #fef5e5;
    --error: #f96766;
    --error-light: #fee9e9;

    /* Text Colors */
    --text-dark: #0f1114;
    --text-body: #495057;
    --text-muted: #878a99;
    --text-light: #adb5bd;

    /* Background Colors */
    --bg-body: #f3f6f9;
    --bg-white: #ffffff;
    --bg-card: #ffffff;

    /* Border Colors */
    --border: #e9ebec;
    --border-input: #adb5bd;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* Radius */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 15px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary, .btn-outline, .btn-text, .btn-white, .btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-text {
    background: transparent;
    color: var(--text-body);
}
.btn-text:hover {
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--bg-body);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

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

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

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

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

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-dark);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #fff 0%, var(--bg-body) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-content > p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.trust-item svg {
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.main-card {
    margin-bottom: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
}

.card-header span {
    font-weight: 600;
    color: var(--text-dark);
}

.upload-zone {
    padding: 40px;
    text-align: center;
    border: 2px dashed var(--border);
    margin: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-body);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--primary);
}

.upload-zone p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.upload-zone span {
    font-size: 13px;
    color: var(--text-muted);
}

.status-card {
    padding: 16px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: var(--bg-body);
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.status-icon.encrypted {
    background: var(--primary-light);
    color: var(--primary);
}

.status-icon.verified {
    background: var(--info-light);
    color: var(--info);
}

.status-icon.scanned {
    background: var(--warning-light);
    color: var(--warning);
}

.status-text {
    flex: 1;
}

.status-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.status-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.status-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.status-badge.success {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

/* ========================================
   Features
   ======================================== */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

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

.feature-icon.blue {
    background: var(--info-light);
    color: var(--info);
}

.feature-icon.orange {
    background: var(--warning-light);
    color: var(--warning);
}

.feature-icon.purple {
    background: #f0e8ff;
    color: #7c3aed;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Security
   ======================================== */
.security {
    padding: 80px 0;
    background: var(--bg-body);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-content .section-label {
    margin-bottom: 16px;
}

.security-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.security-content > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-list li {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.security-list li > svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.security-list li strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.security-list li span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Security Visual */
.security-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shield-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 32px;
}

.shield-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
}

.shield-ring.delay-1 {
    animation-delay: 1s;
}

.shield-ring.delay-2 {
    animation-delay: 2s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.shield-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(10, 179, 156, 0.3);
}

.shield-center svg {
    width: 48px;
    height: 48px;
}

.cert-badges {
    display: flex;
    gap: 16px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.cert-badge svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.cert-badge span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 80px;
}

/* ========================================
   Pricing
   ======================================== */
.pricing {
    padding: 80px 0;
    background: var(--bg-body);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    position: relative;
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(10, 179, 156, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.pricing-price .currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-price .amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.pricing-price .period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-features {
    flex: 1;
    margin-bottom: 24px;
}

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

.pricing-features svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: 80px 0;
    background: var(--primary);
}

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

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--text-dark);
    color: var(--text-light);
}

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

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content > p {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .security-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .security-content {
        order: 2;
    }

    .security-visual {
        order: 1;
    }

    .security-list {
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav, .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .steps-grid {
        flex-direction: column;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
}
