/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink-900: #1f2a2e;
    --ink-700: #3a4a50;
    --ink-500: #5a6b73;
    --ink-300: #8d9aa1;
    --ink-200: #c7d0d5;
    --cream: #f9f6f1;
    --cloud: #ffffff;
    --pastel-pink: #f6b8c8;
    --pastel-coral: #f7a48f;
    --pastel-mint: #bfe6d8;
    --pastel-sky: #b5d7f7;
    --pastel-sun: #fde7a7;
    --pastel-lilac: #cfd4f7;
    --primary: #f28ea8;
    --primary-dark: #eb7a97;
    --accent: #76d2e2;
    --border-radius: 18px;
    --shadow-sm: 0 6px 18px rgba(31, 42, 46, 0.06);
    --shadow-md: 0 14px 30px rgba(31, 42, 46, 0.10);
    --shadow-lg: 0 28px 60px rgba(31, 42, 46, 0.14);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Sora', 'Segoe UI', system-ui, sans-serif;
    background: radial-gradient(circle at 10% 0%, rgba(253, 231, 167, 0.4), transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(191, 230, 216, 0.35), transparent 50%),
        linear-gradient(135deg, #fdf9f3 0%, #f7f2ff 100%);
    color: var(--ink-900);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', 'Times New Roman', serif;
    letter-spacing: -0.02em;
}

/* Header / Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(199, 208, 213, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 76px;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.navbar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-900);
}

.navbar-title span {
    color: var(--primary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-link {
    color: var(--ink-500);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
}

.navbar-link:hover {
    color: var(--ink-900);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--ink-900);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--ink-700);
    border: 2px solid rgba(141, 154, 161, 0.4);
}

.btn-outline:hover {
    border-color: var(--ink-900);
    color: var(--ink-900);
}

.btn-white {
    background: var(--cloud);
    color: var(--ink-900);
}

.btn-white:hover {
    background: #fdf9f3;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 170px 24px 110px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(247, 164, 143, 0.4), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(181, 215, 247, 0.5), transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
    animation: fadeUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(247, 164, 143, 0.25);
    color: var(--ink-900);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-description {
    font-size: 18px;
    color: var(--ink-500);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 54px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(199, 208, 213, 0.35);
}

.hero-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink-900);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--ink-500);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    animation: floatIn 0.9s ease forwards;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255, 255, 255, 0.8);
}

/* Infrastructure Section */
.infrastructure {
    padding: 90px 24px 110px;
}

.infrastructure-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.section-header.left {
    text-align: left;
    max-width: 560px;
}

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

.infra-card {
    padding: 28px;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(199, 208, 213, 0.4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: fadeUp 0.8s ease forwards;
}

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

.infra-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(118, 210, 226, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ink-900);
    margin-bottom: 18px;
}

.infra-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.infra-text {
    font-size: 15px;
    color: var(--ink-500);
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(199, 208, 213, 0.3);
    border-bottom: 1px solid rgba(199, 208, 213, 0.3);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(191, 230, 216, 0.6);
    color: var(--ink-900);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 14px;
}

.section-description {
    font-size: 17px;
    color: var(--ink-500);
}

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

.feature-card {
    background: var(--cloud);
    border-radius: var(--border-radius);
    padding: 28px;
    border: 1px solid rgba(199, 208, 213, 0.35);
    transition: var(--transition);
    animation: fadeUp 0.8s ease forwards;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.feature-icon.purple {
    background: rgba(207, 212, 247, 0.7);
    color: var(--ink-900);
}

.feature-icon.green {
    background: rgba(191, 230, 216, 0.7);
    color: var(--ink-900);
}

.feature-icon.orange {
    background: rgba(253, 231, 167, 0.7);
    color: var(--ink-900);
}

.feature-icon.blue {
    background: rgba(181, 215, 247, 0.7);
    color: var(--ink-900);
}

.feature-icon.pink {
    background: rgba(246, 184, 200, 0.7);
    color: var(--ink-900);
}

.feature-icon.cyan {
    background: rgba(118, 210, 226, 0.5);
    color: var(--ink-900);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--ink-500);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 100px 24px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.pricing-card {
    background: var(--cloud);
    border-radius: var(--border-radius);
    padding: 32px;
    border: 1px solid rgba(199, 208, 213, 0.35);
    transition: var(--transition);
    position: relative;
    animation: fadeUp 0.8s ease forwards;
}

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

.pricing-card.featured {
    border-color: rgba(242, 142, 168, 0.7);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--ink-900);
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    color: var(--ink-500);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--ink-900);
}

.pricing-period {
    font-size: 14px;
    color: var(--ink-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

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

.pricing-features li i {
    color: var(--ink-900);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, rgba(246, 184, 200, 0.9) 0%, rgba(118, 210, 226, 0.9) 100%);
    text-align: center;
}

.cta-container {
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 16px;
}

.cta-description {
    font-size: 17px;
    color: rgba(31, 42, 46, 0.7);
    margin-bottom: 34px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1f2a2e;
    color: rgba(255, 255, 255, 0.65);
    padding: 60px 24px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--cloud);
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--ink-900);
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--cloud);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--cloud);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdf6ef 0%, #eaf4ff 100%);
    padding: 40px 24px;
}

/* Single column auth card (for login, register, forgot-password, etc.) */
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--cloud);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.auth-logo img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: var(--ink-500);
}

.auth-form {
    margin-bottom: 24px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-700);
    margin-bottom: 8px;
}

.auth-form .input-group {
    position: relative;
}

.auth-form .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-300);
    font-size: 16px;
}

.auth-form .input-group input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 2px solid rgba(199, 208, 213, 0.5);
    border-radius: 12px;
    font-size: 14px;
    color: var(--ink-900);
    transition: var(--transition);
}

.auth-form .input-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(118, 210, 226, 0.2);
}

.auth-form .input-group input::placeholder {
    color: var(--ink-300);
}

.auth-form .error-text {
    display: block;
    font-size: 12px;
    color: #d65353;
    margin-top: 6px;
}

.auth-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(199, 208, 213, 0.3);
}

.auth-footer p {
    font-size: 14px;
    color: var(--ink-500);
}

.auth-footer a {
    color: var(--ink-900);
    text-decoration: none;
    font-weight: 500;
}

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

/* Two-column auth layout (for registration with marketing side) */
.auth-container.two-column {
    padding: 0;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, rgba(246, 184, 200, 0.95) 0%, rgba(118, 210, 226, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-left-content {
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-left-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.auth-left-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 16px;
}

.auth-left-description {
    font-size: 16px;
    color: rgba(31, 42, 46, 0.75);
    line-height: 1.7;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--cloud);
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-form-header {
    margin-bottom: 32px;
}

.auth-form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.auth-form-subtitle {
    font-size: 15px;
    color: var(--ink-500);
}

.auth-form-subtitle a {
    color: var(--ink-900);
    text-decoration: none;
    font-weight: 500;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(199, 208, 213, 0.5);
    border-radius: 12px;
    font-size: 15px;
    color: var(--ink-900);
    transition: var(--transition);
    background: var(--cloud);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(118, 210, 226, 0.2);
}

.form-input::placeholder {
    color: var(--ink-300);
}

.form-input-icon {
    position: relative;
}

.form-input-icon .form-input {
    padding-left: 48px;
}

.form-input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-300);
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--ink-500);
}

.form-link {
    color: var(--ink-900);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(199, 208, 213, 0.5);
}

.form-divider span {
    font-size: 13px;
    color: var(--ink-500);
}

/* Alerts */
.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert i {
    font-size: 18px;
    margin-top: 1px;
}

.alert-success {
    background: rgba(191, 230, 216, 0.6);
    color: var(--ink-900);
}

.alert-error {
    background: rgba(247, 164, 143, 0.4);
    color: var(--ink-900);
}

.alert-warning {
    background: rgba(253, 231, 167, 0.6);
    color: var(--ink-900);
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card:nth-child(1),
.infra-card:nth-child(1),
.pricing-card:nth-child(1) {
    animation-delay: 0.05s;
}

.feature-card:nth-child(2),
.infra-card:nth-child(2),
.pricing-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3),
.infra-card:nth-child(3),
.pricing-card:nth-child(3) {
    animation-delay: 0.15s;
}

.feature-card:nth-child(4),
.pricing-card:nth-child(4) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.25s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.3s;
}

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

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

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-image {
        display: none;
    }

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

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

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

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

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

    .hero-title {
        font-size: 38px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 30px;
    }

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

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

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
