/* OTP Forwarder — Marketing Site Styles */

:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --primary-light: #E0E7FF;
    --primary-dark: #312E81;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }

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

/* Header */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.nav a:hover { color: var(--primary); }

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, white 0%, var(--primary-light) 100%);
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--gray-900);
}
.hero-sub {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-400);
}

/* Sections */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--gray-50);
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Use Cases */
.use-case-card {
    text-align: center;
    padding: 32px 24px;
}
.use-case-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.use-case-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.use-case-card p {
    color: var(--gray-600);
    font-size: 15px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}
.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--gray-600);
    font-size: 14px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 40px;
}
.step {
    text-align: center;
}
.step-num {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.step p {
    color: var(--gray-600);
    font-size: 14px;
}

/* Pricing */
.pricing-grid {
    max-width: 960px;
    margin: 40px auto 0;
}
.pricing-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}
.pricing-popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}
.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}
.price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--gray-500);
}
.pricing-card ul {
    list-style: none;
    margin: 24px 0;
    text-align: left;
}
.pricing-card li {
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 14px;
}
.pricing-card li::before {
    content: "\2713 ";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

/* Code Block */
.code-block {
    max-width: 700px;
    margin: 32px auto 0;
}
.code-block pre {
    background: var(--gray-800);
    color: #E5E7EB;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background: var(--primary);
    color: white;
    padding: 60px 0;
}
.cta-section h2 {
    color: white;
    font-size: 32px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 32px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .section-title { font-size: 24px; }
    .pricing-popular { transform: none; }
    .nav { gap: 12px; }
}
