/* Variables */
:root {
    --primary: #00A3FF;
    --primary-light: #E3F2FD;
    --primary-dark: #007ACC;
    
    --accent-navy: #0F172A;
    --accent-gray: #334155;
    --text-main: #1E293B;
    --text-light: #64748B;
    
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FAFC;
    
    --border-color: #E2E8F0;
    
    --font-main: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 163, 255, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Initial Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    font-size: 15px;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 163, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 163, 255, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-navy);
    border: 1px solid var(--border-color);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--bg-offwhite);
    border-color: var(--text-light);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #F1F5F9;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    color: var(--accent-navy);
}

.logo-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 20px;
}

.spark-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 14px;
    color: #F59E0B; /* subtle gold/sparkle */
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--accent-navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-offwhite) 100%);
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.orb-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
}

.orb-2 {
    bottom: -150px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: rgba(0, 163, 255, 0.1);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(226, 232, 240, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-gray);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--accent-navy);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Phones Carousel Wrapper */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.phones-wrapper {
    position: relative;
    width: 320px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    color: var(--accent-navy);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 20;
}

.carousel-nav:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

/* Phone Mockup Global Settings */
.phone-mockup {
    width: 260px;
    min-height: 520px;
    background: #1E293B; /* Body color of the feature phone */
    border: 8px solid var(--accent-navy);
    border-radius: 20px;
    position: absolute !important;
    display: flex;
    flex-direction: column;
    padding: 15px 12px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform: none; /* override hover rotate */
}

/* Active & Inactive States */
.phone-mockup.active-phone {
    transform: translateX(0) scale(1) !important;
    z-index: 10;
    opacity: 1;
    box-shadow: var(--shadow-lg), 0 30px 60px rgba(0,0,0,0.2) !important;
    cursor: default;
}

.phone-mockup.inactive-phone {
    z-index: 5;
    opacity: 0.6;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.phone-mockup.inactive-phone:hover {
    opacity: 0.8;
}

/* Special position for inactive phones based on type to swap sides */
.smart-phone.inactive-phone {
    transform: translateX(120px) scale(0.65) !important;
}

.feature-phone.inactive-phone {
    transform: translateX(-120px) scale(0.70) !important;
}

.phone-speaker {
    width: 40px;
    height: 4px;
    background: #0F172A;
    border-radius: 4px;
    margin: 0 auto 15px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.phone-screen {
    height: 220px;
    background: #DCF8C6; /* Retro off-white / greenish screen feel */
    border: 12px solid #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--primary);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.chat-avatar {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 700;
    color: white;
    font-size: 13px;
}

.chat-body {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    min-height: 0; /* Critical for flex scrolling */
}

/* Custom Scrollbar for Chat */
.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.smart-phone .chat-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
}

.message {
    max-width: 90%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3;
    position: relative;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    background: #0F172A;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-message {
    background: rgba(255,255,255,0.8);
    color: #000;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation-delay: 0.8s;
    opacity: 0;
}

/* Keypad Styles */
.phone-keypad {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
    padding: 0 5px;
}

.key-row {
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.key {
    flex: 1;
    background: #334155;
    border: none;
    border-radius: 8px;
    color: white;
    padding: 2px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 3px 0 #0F172A;
    cursor: default;
    height: 38px;
    transition: all 0.1s;
    user-select: none;
    touch-action: manipulation; /* Prevent double-tap zoom */
}

.key:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 1px 0 #0F172A;
}

.key .sub {
    font-size: 8px;
    font-weight: 400;
    color: #94A3B8;
    text-transform: uppercase;
    margin-top: -2px;
    letter-spacing: 1px;
}

.nav-keys {
    margin-bottom: 4px;
    align-items: center;
}

.key-action {
    background: #475569;
    height: 20px;
    border-radius: 12px 12px 4px 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 0 #0F172A;
    font-size: 12px;
    color: #94A3B8;
}

.key-nav {
    flex: 1.5;
    background: #475569;
    border-radius: 12px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 3px 0 #0F172A;
}

/* Retro Chat Input for Feature Phone */
.feature-chat-input-area {
    background: #000;
    color: #DCF8C6; /* Match screen bg but as text color on black */
    padding: 4px 8px;
    font-family: monospace;
    font-size: 11px;
    display: flex;
    gap: 5px;
    border-top: 1px solid rgba(220, 248, 198, 0.2);
}

.feature-input-label {
    font-weight: bold;
    color: #DCF8C6;
}

.feature-input-text {
    flex: 1;
    white-space: normal; /* Allow wrapping */
    word-break: break-all;
    max-height: 40px; /* Max 2-3 lines for retro screen */
    overflow-y: auto;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.key-pressed {
    transform: translateY(2px) !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 1px 0 #0F172A !important;
    background: #475569 !important;
}

.key-nav i {
    font-size: 14px;
    color: #CBD5E1;
}

/* Smart Phone Keyboard & Screen Overrides */
.smart-phone .phone-screen {
    background: #f0f2f5; /* Modern light grey bg */
}

.smart-phone .chat-body {
    background: #e5ddd5; /* Classic WhatsApp chat bg pattern or similar color */
    padding-bottom: 5px;
}

.smart-phone .user-message {
    background: #dcf8c6; /* WhatsApp light green */
    color: #000;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.smart-phone .ai-message {
    background: #fff;
    color: #000;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.smart-keyboard {
    background: #d1d4d9;
    padding: 3px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid #babbbd;
}

.kb-row {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.kb-key {
    background: #fff;
    border: none;
    border-radius: 4px;
    flex: 1;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: #000;
    box-shadow: 0 1px 0 #888b8d;
    cursor: default;
    padding: 0;
    transition: background 0.1s;
    touch-action: manipulation; /* Prevent double-tap zoom on mobile */
}

.kb-key:active {
    background: #adb5bd;
    transform: translateY(1px);
    box-shadow: none;
}

.kb-key.btn-special {
    background: #abb2bb;
    flex: 1.2;
}

.kb-key.btn-space {
    flex: 5;
}

.kb-key i {
    font-size: 10px;
}

/* Smart Phone Override Styles */
.phone-mockup.smart-phone {
    width: 300px;
    height: 600px; /* Fixed height to prevent stretching */
    background: var(--bg-white);
    border: 12px solid var(--accent-navy);
    border-radius: 40px;
    padding: 0;
    overflow: hidden; /* Ensure screen doesn't spill */
    display: flex;
    flex-direction: column;
}

.phone-mockup.smart-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--accent-navy);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-mockup.smart-phone .phone-speaker {
    display: none;
}

.phone-mockup.smart-phone .phone-screen {
    flex: 1; /* Take all available space in fixed-height mockup */
    height: auto; /* Remove fixed height/100% to allow flex */
    border: none;
    border-radius: 0;
    background: var(--bg-offwhite);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-mockup.smart-phone .chat-header {
    background: var(--bg-white);
    padding: 30px 20px 15px;
    border-bottom: 1px solid var(--border-color);
}

.phone-mockup.smart-phone .chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.phone-mockup.smart-phone .chat-name {
    font-size: 15px;
    color: var(--accent-navy);
}

.phone-mockup.smart-phone .chat-status {
    display: block;
    font-size: 12px;
}

.chat-status {
    display: none;
}

.phone-mockup.smart-phone .chat-body {
    padding: 20px;
    gap: 16px;
    background: var(--bg-offwhite);
}

.phone-mockup.smart-phone .message {
    font-size: 14px;
}

.phone-mockup.smart-phone .user-message {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.phone-mockup.smart-phone .ai-message {
    background: var(--bg-white);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.phone-mockup.smart-phone .phone-keypad {
    display: none;
}

.phone-mockup.smart-phone .chat-input-area {
    display: flex;
}

.chat-input-area {
    display: none;
    background: var(--bg-white);
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    align-items: center;
    gap: 12px;
}

.chat-input {
    flex: 1;
    background: var(--bg-offwhite);
    padding: 10px 15px;
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--text-light);
    white-space: normal; /* Allow wrapping */
    word-wrap: break-word; /* Ensure single long words break */
    max-height: 80px; /* Don't let it push the keyboard off */
    overflow-y: auto; /* Scroll internally if text is too long */
}

.chat-send {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections Global */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-navy);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
}

/* Nasıl Çalışır Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
    scroll-margin-top: 80px;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-offwhite);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 24px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    background: var(--accent-navy);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-white);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-navy);
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-light);
    font-size: 15px;
}

.step-connector {
    display: flex;
    align-items: center;
    flex: 0.5;
    margin-top: 40px;
    color: var(--border-color);
}

.step-connector .line {
    height: 2px;
    flex: 1;
    background: var(--border-color);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
    scroll-margin-top: 80px;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.testimonial-card {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quote-icon {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--accent-gray);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.author-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-navy);
    margin-bottom: 4px;
}

.author-details span {
    font-size: 14px;
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-offwhite);
    scroll-margin-top: 80px;
}

/* Pricing Segmented Controls */
.pricing-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-group {
    position: relative;
    display: inline-flex;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: var(--shadow-sm);
    width: 260px;
}

.toggle-group.minor-toggle {
    width: 200px;
    padding: 4px;
}

.toggle-group input[type="radio"] {
    display: none;
}

.toggle-group label {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 10px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-group.minor-toggle label {
    padding: 6px 0;
    font-size: 13px;
}

.toggle-group input[type="radio"]:checked + label {
    color: var(--accent-navy);
}

.toggle-group .toggle-bg {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(50% - 6px);
    background: var(--bg-offwhite);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.toggle-group.minor-toggle .toggle-bg {
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
}

.toggle-group input[type="radio"]:nth-of-type(2):checked ~ .toggle-bg {
    transform: translateX(100%);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.amount-original {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-note {
    display: inline-block;
    align-self: center;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1150px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover:not(.disabled) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 163, 255, 0.3);
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
    border: none;
    position: relative;
    /* Removed overflow: hidden to prevent font blurring and allow outer glow */
    animation: floating 4s ease-in-out infinite;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Flashy Animated Border for Pro - Moved slightly further out to avoid text bleed */
.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff00bd, #00d2ff, #ff00bd, #00d2ff);
    background-size: 400%;
    z-index: -1;
    border-radius: 24px;
    animation: gradientBorder 8s linear infinite;
    filter: blur(8px);
    opacity: 0.5;
}

/* Wrapper for internal effects like shine to keep main card overflow visible */
.card-shine-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.card-shine-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 55%
    );
    transform: rotate(45deg);
    animation: shine 5s infinite;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0% { transform: translateX(-150%) rotate(45deg); }
    30%, 100% { transform: translateX(150%) rotate(45deg); }
}

@keyframes floating {
    0%, 100% { transform: scale(1.05) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}

.popular-badge {
    position: absolute;
    top: 8px;
    right: 15px;
    background: linear-gradient(135deg, #ff00bd, #00d2ff);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-navy);
    margin-bottom: 16px;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-navy);
    letter-spacing: -1px;
}

.period {
    color: var(--text-light);
    font-weight: 500;
}

.card-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.alt-price {
    font-size: 14px;
    color: var(--text-light);
    margin-top: -12px;
    margin-bottom: 24px;
}

.card-features {
    flex: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--accent-gray);
}

.feature-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 2px;
}

.highlight-feature {
    color: var(--accent-navy);
    font-weight: 600;
}

.highlight-feature i {
    color: #F59E0B; /* distinct color for special features */
}

/* Coming Soon Section */
.coming-soon-wrapper {
    margin-top: 40px;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-navy);
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: var(--bg-offwhite);
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    right: -100px;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.pricing-card.disabled {
    opacity: 0.7;
    background: #F8FAFC;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gray);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--accent-navy);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

.footer-desc {
    color: #94A3B8;
    font-size: 15px;
    max-width: 300px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-list li {
    color: #94A3B8;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    font-size: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .step-connector {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none; /* simple mobile menu state */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }

    /* Carousel Navigation Mobile Fix */
    .carousel-container {
        gap: 10px; /* Reduce gap on mobile */
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .phones-wrapper {
        width: 280px; /* Slightly narrower wrapper */
        height: 520px;
        transform: scale(0.95); /* Scale down slightly to ensure fit */
    }
}

@media (max-width: 400px) {
    .phones-wrapper {
        transform: scale(0.85); /* Further scale for very narrow phones */
        margin-left: -10px; 
        margin-right: -10px;
    }
    
    .carousel-container {
        gap: 5px;
    }
}

/* --- Auth Modals & Forms --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--bg-white);
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: none; /* Controlled via JS */
}

.modal-overlay.active .modal.active {
    display: block;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-offwhite);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.auth-container {
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-navy);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 15px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-navy);
}

.form-group input {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-footer {
    display: flex;
    justify-content: flex-end;
}

.forgot-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.btn-block {
    width: 100%;
    padding: 14px;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: white;
    padding: 0 12px;
    position: relative;
    font-size: 13px;
    color: var(--text-light);
}

.social-auth {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
}

.auth-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
}

.auth-terms a {
    color: var(--primary);
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }
}

/* --- Auth Pages (Login/Register) --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-offwhite) 100%);
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.auth-page .glow-orb {
    opacity: 0.4;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
}

.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: var(--transition);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.country-code {
    background: var(--bg-offwhite);
    border: 1px solid var(--border-color);
    padding: 12px 10px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-navy);
}

.step-hidden {
    display: none;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary);
}

/* --- Auth Bubbles Decoration --- */
.auth-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-navy);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    animation: floatBubble 15s linear infinite;
    white-space: nowrap;
    opacity: 0; /* Hidden by default until animation starts */
    transform: translateY(120vh); /* Start below the screen */
}

.bubble.ai {
    border-bottom-left-radius: 4px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
}

.bubble.user {
    border-bottom-right-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
}

@keyframes floatBubble {
    0% { transform: translateY(110vh) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-20vh) translateX(20px) scale(1.1); opacity: 0; }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
}
