:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* STRIPE BACKGROUND EFFECTS */
.stripe-bg {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 1000px;
    transform: skewY(-10deg);
    transform-origin: 0;
    background: linear-gradient(150deg, #f8fafc 15%, #e0e7ff 70%, #ede9fe 94%);
    z-index: -1;
    overflow: hidden;
}

.stripe-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.bg-1 {
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #60a5fa;
    opacity: 0.4;
}

.bg-2 {
    top: 40%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #c084fc;
    opacity: 0.3;
}

.bg-3 {
    top: -10%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: #f472b6;
    opacity: 0.2;
}

/* NAVBAR */
.navbar {
    padding: 24px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 36px;
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-link.sign-in {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-link.sign-in:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* HERO SECTION */
.hero {
    padding: 80px 0 120px;
}

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

.hero-text .badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 32px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
}

.btn-secondary:hover {
    color: var(--text);
}

.arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* PHONE MOCKUP */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #0f172a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
    transform: rotate(5deg) translateY(-20px);
}

.phone-screen {
    background: #f8fafc;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* App UI from Meriba */
.app-preview-kimiia {
    padding: 20px;
    height: 100%;
    background: linear-gradient(180deg, #e0e7ff 0%, #f8fafc 30%);
}

.kimiia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.app-bar-kimiia {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-bar-kimiia img {
    height: 24px;
}

.app-name {
    font-weight: 700;
    color: #1e293b;
}

.notification-icon {
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.profile-section-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.greeting-text {
    font-size: 12px;
    color: #64748b;
}

.user-name {
    font-weight: 700;
    font-size: 18px;
    color: #0f172a;
}

.balance-card {
    background: #0f172a;
    border-radius: 20px;
    padding: 24px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    background-image: linear-gradient(45deg, #0f172a 0%, #1e293b 100%);
}

.card-type {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.card-balance {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
}

.currency {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
}

.amount {
    font-size: 32px;
    font-weight: 800;
}

.card-actions {
    display: flex;
    justify-content: space-between;
}

.card-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #cbd5e1;
    cursor: pointer;
}

.card-action-btn span:first-child {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.transactions-preview {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.transaction-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bg-blue { background: #e0e7ff; }
.bg-green { background: #dcfce3; }

.transaction-info {
    flex: 1;
}

.transaction-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}

.transaction-date {
    font-size: 11px;
    color: #64748b;
}

.transaction-amount {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

.transaction-amount.positive {
    color: #10b981;
}

/* FEATURES GRID */
.features {
    padding: 80px 0;
    background: white;
}

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

.feature .icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--dark);
}

.feature p {
    font-size: 14px;
    color: var(--text-light);
}

.feature-header {
    margin-bottom: 12px;
}

.feature-img-small {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.vpn-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.vpn-icon-wrapper .feature-img-small {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.8);
    margin-bottom: 0;
}

.white-key {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: white;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.icon-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.learn-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.learn-more:hover {
    color: var(--primary-hover);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease-out;
}

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

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-content h2 {
    color: var(--dark);
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 800;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

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

.step p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
    padding-top: 2px;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        transform: none;
        margin-top: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}
