@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Apple Inspired */
    --primary: #007AFF;
    --primary-bg: #F5F5F7;
    --secondary-bg: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --accent: #5E5CE6;
    --success: #34C759;
    --warning: #FF9F0A;
    --error: #FF3B30;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Dark Mode Defaults (will be overridden) */
    --surface-light: rgba(255, 255, 255, 0.8);
    --border-radius: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-bg: #000000;
    --secondary-bg: #1C1C1E;
    --text-primary: #F5F5F7;
    --text-secondary: #86868B;
    --glass-bg: rgba(28, 28, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.5s ease;
}

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: -0.02em; }
p { font-weight: 400; color: var(--text-secondary); }

/* Glass Elements */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

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

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

.btn-primary:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.1) 50%, transparent 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* Layout Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--secondary-bg);
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

/* Notification System */
#notification-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.notification-toast {
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-toast.is-success { border-left: 4px solid var(--success); }
.notification-toast.is-error { border-left: 4px solid var(--error); }
.notification-toast.is-info { border-left: 4px solid var(--primary); }

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.notification-message {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Mobile Adjustments for Notifications */
@media (max-width: 600px) {
    #notification-container {
        top: 20px;
        right: 20px;
        left: 20px;
        align-items: center;
    }

    .notification-toast {
        min-width: 0;
        width: 100%;
        max-width: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Adjust position on mobile to not overlap with bottom nav if any */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 90px;
    right: 20px;
    font-size: 25px;
  }
}

/* ==========================================================================
   Redesigned Landing Page Styles (ByteVerify Brand Scheme)
   ========================================================================== */

:root {
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --card-shadow: 0 12px 40px rgba(0, 122, 255, 0.05);
    --hover-shadow: 0 20px 48px rgba(0, 122, 255, 0.12);
    --border-gradient: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
}

[data-theme="dark"] {
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    --hover-shadow: 0 20px 48px rgba(94, 92, 230, 0.2);
    --border-gradient: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03));
}

/* Button & Nav Styling */
.btn-pill {
    border-radius: 50px !important;
    padding: 14px 28px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

.btn-pill-primary {
    background: var(--primary-gradient) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
}

.btn-pill-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 122, 255, 0.35);
}

.btn-pill-secondary {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    backdrop-filter: var(--glass-blur);
}

.btn-pill-secondary:hover {
    background: rgba(0, 122, 255, 0.05) !important;
    border-color: rgba(0, 122, 255, 0.3) !important;
    transform: translateY(-2px);
}

.btn-pill-outline {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
}

.btn-pill-outline:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Hero Orbit Decorator */
.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-bg {
    position: absolute;
    width: 420px;
    height: 420px;
    border: 2px dashed rgba(0, 122, 255, 0.2);
    border-radius: 50%;
    animation: rotateOrbit 40s linear infinite;
    z-index: 1;
}

.orbit-bg-inner {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(94, 92, 230, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.orbit-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, rgba(94, 92, 230, 0.02) 70%, transparent 100%);
    z-index: 0;
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pure HTML/CSS Identity Verification Card */
.css-id-card {
    position: relative;
    width: 340px;
    height: 210px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 243, 255, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    z-index: 5;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .css-id-card {
    background: linear-gradient(135deg, rgba(28, 28, 30, 0.9) 0%, rgba(20, 20, 25, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.css-id-card:hover {
    transform: translateY(-5px) rotate(1deg);
}

.css-id-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.css-id-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
    padding-bottom: 8px;
}

.css-id-logo {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.css-id-logo span {
    color: var(--primary);
}

.css-id-chip {
    width: 32px;
    height: 24px;
    background: linear-gradient(135deg, #e5c158 0%, #c29b2b 100%);
    border-radius: 4px;
    position: relative;
}

.css-id-body {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.css-id-avatar {
    width: 64px;
    height: 64px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    border: 1px dashed var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.css-id-avatar svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.css-id-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary);
    top: 0;
    left: 0;
    box-shadow: 0 0 8px var(--primary);
    animation: scanAvatar 2.5s ease-in-out infinite;
}

@keyframes scanAvatar {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

.css-id-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.css-id-field {
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    width: 80%;
}

[data-theme="dark"] .css-id-field {
    background: rgba(255, 255, 255, 0.08);
}

.css-id-field.short { width: 50%; }
.css-id-field.medium { width: 65%; }

.css-id-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.css-id-barcode {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 18px;
}

.css-id-barcode-bar {
    width: 2px;
    height: 100%;
    background: var(--text-primary);
    opacity: 0.7;
}

.css-id-barcode-bar:nth-child(even) { width: 1px; }
.css-id-barcode-bar:nth-child(3n) { width: 3px; }

.css-id-status-badge {
    background: rgba(52, 199, 89, 0.12);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

/* Floating Orbit Badges */
.floating-orbit-card {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: var(--glass-shadow);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.floating-orbit-card:hover {
    transform: scale(1.05);
}

.f-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.f-badge-icon.blue { background: rgba(0, 122, 255, 0.1); color: var(--primary); }
.f-badge-icon.purple { background: rgba(94, 92, 230, 0.1); color: var(--accent); }
.f-badge-icon.green { background: rgba(52, 199, 89, 0.1); color: var(--success); }

.f-badge-info h5 {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.f-badge-info p {
    font-size: 10px;
    margin: 0;
    color: var(--text-secondary);
}

/* Partner Logo Bar */
.partner-logo-section {
    padding: 30px 0;
    background: var(--primary-gradient);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.partner-logo-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo-item {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-logo-item:hover {
    color: #FFFFFF;
    transform: scale(1.05);
}

.partner-logo-item svg {
    opacity: 0.85;
}

/* Search Demo Section */
.search-courses-section {
    padding: 80px 0;
}

.search-title-wrap {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-title-wrap h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.search-demo-container {
    max-width: 650px;
    margin: 0 auto 60px;
    position: relative;
}

.search-demo-bar {
    display: flex;
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--card-shadow);
    align-items: center;
    transition: var(--transition-smooth);
}

.search-demo-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.search-demo-icon {
    padding: 0 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.search-demo-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 4px;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.search-demo-btn {
    border-radius: 50px !important;
    padding: 12px 28px !important;
}

/* Interactive Grid of Profiles */
.demo-row-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.profile-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.profile-card-item {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.profile-card-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(0, 122, 255, 0.2);
}

.profile-card-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.profile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 122, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.profile-card-type {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(94, 92, 230, 0.08);
    color: var(--accent);
}

.profile-card-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.profile-card-info p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.profile-card-status {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
}

.profile-card-status span {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

/* Right Side Benefits List */
.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefits-title-sub {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 122, 255, 0.06);
    border: 1px solid rgba(0, 122, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.benefit-item:hover .benefit-icon-box {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.benefit-text-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.benefit-text-box p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Popular Verification Services Grid */
.courses-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 122, 255, 0.02) 100%);
    border-top: 1px solid var(--glass-border);
}

.courses-title-area {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.courses-title-area h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.courses-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card-premium {
    background: var(--secondary-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.course-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(0, 122, 255, 0.25);
}

.course-card-visual {
    height: 160px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(94, 92, 230, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.course-card-visual svg {
    width: 64px;
    height: 64px;
    color: var(--primary);
    z-index: 2;
    transition: var(--transition-smooth);
}

.course-card-premium:hover .course-card-visual svg {
    transform: scale(1.1);
    color: var(--accent);
}

.course-visual-pattern {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    animation: rotateOrbit 20s linear infinite;
}

.course-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.course-tag-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 122, 255, 0.08);
    padding: 6px 12px;
    border-radius: 50px;
}

.course-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.course-card-premium h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.course-card-premium p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Call To Action Custom Visual */
.cta-visual-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.css-security-shield {
    width: 160px;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(94, 92, 230, 0.15) 100%);
    border: 2px solid var(--primary);
    border-radius: 50% 50% 50% 50% / 12% 12% 88% 88%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.15);
    animation: shieldPulse 3s infinite ease-in-out;
}

@keyframes shieldPulse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.03); }
}

.css-security-shield svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    filter: drop-shadow(0 4px 8px rgba(0, 122, 255, 0.2));
}

.css-security-ring {
    position: absolute;
    border: 2px dashed rgba(94, 92, 230, 0.3);
    border-radius: 50%;
    animation: rotateOrbit 25s linear infinite;
}

.css-security-ring.outer {
    width: 280px;
    height: 280px;
}

.css-security-ring.inner {
    width: 220px;
    height: 220px;
    animation-direction: reverse;
    animation-duration: 15s;
}

/* Media Query Adaptations */
@media (max-width: 991px) {
    .demo-row-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .courses-grid-layout {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-visual-wrapper {
        margin-top: 50px;
        height: 420px;
    }
    
    .orbit-bg {
        width: 320px;
        height: 320px;
    }
    
    .orbit-bg-inner {
        width: 245px;
        height: 245px;
    }
    
    .css-id-card {
        width: 280px;
        height: 180px;
        padding: 15px;
    }
    
    .css-id-avatar {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 768px) {
    .profile-card-grid {
        grid-template-columns: 1fr;
    }
    
    .search-title-wrap h2 {
        font-size: 28px;
    }
    
    .benefits-title-sub {
        font-size: 24px;
        text-align: center;
    }
    
    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .partner-logo-flex {
        gap: 20px;
    }
}

/* ==========================================================================
   New Landing Page Sections: How It Works, Code Showcase, Trust, FAQ
   ========================================================================== */

/* How It Works Section */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    position: relative;
    padding: 36px 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 122, 255, 0.3);
}

.step-num-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(0, 122, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.step-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 122, 255, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 122, 255, 0.15);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Code Showcase Section */
.code-showcase-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    margin-top: 50px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
    .code-showcase-container {
        grid-template-columns: 1fr;
    }
}

.code-editor-side {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #161b22;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs-list {
    display: flex;
    gap: 4px;
}

.code-tab-btn {
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.code-tab-btn:hover {
    color: #c9d1d9;
}

.code-tab-btn.active {
    color: #58a6ff;
    border-bottom-color: #58a6ff;
}

.copy-code-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b949e;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f0f6fc;
}

.code-content-panel {
    padding: 24px;
    font-family: 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #e6edf3;
    overflow-x: auto;
    flex-grow: 1;
}

.code-block {
    display: none;
}

.code-block.active {
    display: block;
}

.code-response-side {
    display: flex;
    flex-direction: column;
    background: #090c10;
}

.code-response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: #8b949e;
}

.status-tag-green {
    color: #3fb950;
    background: rgba(63, 185, 80, 0.12);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.code-response-body {
    padding: 24px;
    font-family: 'Fira Code', 'Cascadia Code', Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #7ee787;
    overflow-x: auto;
}

/* Security & Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.trust-card {
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 122, 255, 0.3);
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(52, 199, 89, 0.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.trust-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* FAQ Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 28px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
    transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

