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

/* ================================
   Premium Glow Design System
   Apple Minimalism + Rich Glows
================================ */

:root {
    /* Backgrounds */
    --bg-page: #000000;
    --surface-1: #0a0a0a;
    --surface-2: #111111;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(235, 203, 139, 0.3);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);

    /* Accent */
    --gold: #EBCB8B;
    --gold-bright: #FFD700;
    --gold-dim: #D4AF37;
}

/* ================================
   Base
================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ================================
   Animated Background
================================ */

.bg-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 400px at 30% 20%, rgba(235, 203, 139, 0.12), transparent 50%),
        radial-gradient(ellipse 500px 300px at 70% 60%, rgba(235, 203, 139, 0.08), transparent 50%),
        radial-gradient(ellipse 400px 400px at 50% 80%, rgba(100, 80, 60, 0.06), transparent 50%);
    animation: bg-drift 20s ease-in-out infinite;
}

.bg-spotlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(235, 203, 139, 0.1), transparent 70%);
}

@keyframes bg-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, 1%) rotate(1deg);
    }

    50% {
        transform: translate(-1%, 2%) rotate(-1deg);
    }

    75% {
        transform: translate(-2%, -1%) rotate(0.5deg);
    }
}

/* Noise Texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* ================================
   Typography
================================ */

.heading-hero {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 20%, #EBCB8B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(235, 203, 139, 0.3);
}

.heading-section {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-primary);
}

.text-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-caption {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ================================
   Premium Card (with glow)
================================ */

.apple-card {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 2rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.apple-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 203, 139, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.apple-card:hover {
    border-color: rgba(235, 203, 139, 0.15);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 60px rgba(235, 203, 139, 0.08);
}

.apple-card:hover::before {
    opacity: 1;
}

@media (min-width: 768px) {
    .apple-card {
        padding: 2.5rem;
    }
}

/* ================================
   Glowing Feature Icon
================================ */

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.15) 0%, rgba(184, 134, 11, 0.08) 100%);
    border: 1px solid rgba(235, 203, 139, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.15);
    transition: all 0.5s;
}

.apple-card:hover .feature-icon {
    box-shadow: 0 0 40px rgba(235, 203, 139, 0.25);
    transform: scale(1.05);
}

/* ================================
   Gold CTA Button (with shine)
================================ */

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 4px 30px rgba(235, 203, 139, 0.3),
        0 0 60px rgba(235, 203, 139, 0.15);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 8px 40px rgba(235, 203, 139, 0.4),
        0 0 80px rgba(235, 203, 139, 0.2);
}

.btn-gold:hover::before {
    left: 100%;
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(235, 203, 139, 0.3);
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.1);
}

/* ================================
   Screenshot Frame (3D + Glow)
================================ */

.screenshot-frame {
    perspective: 2000px;
    position: relative;
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(235, 203, 139, 0.2), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    transition: all 0.7s;
}

.screenshot-frame:hover::before {
    inset: -60px;
    opacity: 1.2;
}

.screenshot-inner {
    transform: rotateX(6deg);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-frame:hover .screenshot-inner {
    transform: rotateX(0deg);
}

/* ================================
   Glowing Badge
================================ */

.badge-glow {
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(235, 203, 139, 0);
    }

    50% {
        box-shadow: 0 0 20px 2px rgba(235, 203, 139, 0.2);
    }
}

/* ================================
   Step Numbers (Glowing)
================================ */

.step-number {
    background: linear-gradient(180deg, rgba(235, 203, 139, 0.15) 0%, rgba(235, 203, 139, 0.05) 100%);
    color: var(--gold);
    text-shadow: 0 0 30px rgba(235, 203, 139, 0.5);
    transition: all 0.5s;
}

.apple-card:hover .step-number {
    text-shadow: 0 0 40px rgba(235, 203, 139, 0.8);
}

/* ================================
   Animations
================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}

/* ================================
   Video Teaser Frame
================================ */

.video-teaser-frame {
    perspective: 2000px;
    position: relative;
}

.video-teaser-frame::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(235, 203, 139, 0.15), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    transition: all 0.7s;
}

.video-teaser-frame:hover::before {
    inset: -60px;
    opacity: 1.2;
}

.video-teaser-inner {
    transform: rotateX(4deg);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-teaser-frame:hover .video-teaser-inner {
    transform: rotateX(0deg);
}

/* ================================
   Clone Engine Demo Card
================================ */

.clone-demo-card {
    position: relative;
}

.clone-demo-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(235, 203, 139, 0.1), transparent 60%);
    filter: blur(40px);
    z-index: -1;
    transition: all 0.5s;
}

.clone-demo-card:hover::before {
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(235, 203, 139, 0.15), transparent 60%);
}

/* ================================
   Interactive Tabs
================================ */

.tab-button {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tab-button:hover {
    background: var(--surface-2);
    border-color: rgba(235, 203, 139, 0.15);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.08) 0%, rgba(235, 203, 139, 0.02) 100%);
    border-color: rgba(235, 203, 139, 0.3);
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.08);
}

.tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.1) 0%, rgba(235, 203, 139, 0.05) 100%);
    border: 1px solid rgba(235, 203, 139, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.4s;
}

.tab-button.active .tab-icon {
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.2) 0%, rgba(235, 203, 139, 0.1) 100%);
    border-color: rgba(235, 203, 139, 0.3);
    box-shadow: 0 0 20px rgba(235, 203, 139, 0.15);
}

.tab-content {
    flex: 1;
    min-width: 0;
}

.tab-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.3s;
}

.tab-button.active .tab-title {
    color: var(--gold);
}

.tab-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    transition: color 0.3s;
}

.tab-button.active .tab-text {
    color: var(--text-secondary);
}

/* Tab Demo Container */
.tab-demo-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.5s ease-out;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Sticky CTA Button
================================ */

#stickyCta {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#stickyCta a {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(235, 203, 139, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(235, 203, 139, 0.5);
    }
}

/* ================================
   Clone Engine Progress Animations
================================ */

@keyframes progress-fill-1 {
    0% {
        width: 0;
    }

    100% {
        width: 92%;
    }
}

@keyframes progress-fill-2 {
    0% {
        width: 0;
    }

    100% {
        width: 87%;
    }
}

@keyframes progress-fill-3 {
    0% {
        width: 0;
    }

    100% {
        width: 95%;
    }
}

@keyframes progress-fill-4 {
    0% {
        width: 0;
    }

    100% {
        width: 99%;
    }
}

.animate-progress-1 {
    animation: progress-fill-1 1.5s ease-out forwards;
    animation-delay: 0.2s;
    width: 0;
}

.animate-progress-2 {
    animation: progress-fill-2 1.5s ease-out forwards;
    animation-delay: 0.4s;
    width: 0;
}

.animate-progress-3 {
    animation: progress-fill-3 1.5s ease-out forwards;
    animation-delay: 0.6s;
    width: 0;
}

.animate-progress-4 {
    animation: progress-fill-4 1.5s ease-out forwards;
    animation-delay: 0.8s;
    width: 0;
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid rgba(235, 203, 139, 0.5);
    white-space: nowrap;
    animation:
        typing 2s steps(30, end) forwards,
        blink-caret 0.75s step-end infinite;
    animation-delay: 1.2s;
    width: 0;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: rgba(235, 203, 139, 0.5);
    }
}

/* ================================
   Pricing Cards - Premium Design
================================ */

.pricing-card {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-inner {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.pricing-card:hover .pricing-card-inner {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Card */
.pricing-card-featured .pricing-card-inner {
    border: 1px solid rgba(235, 203, 139, 0.25);
    background: linear-gradient(to bottom, rgba(235, 203, 139, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 
        0 0 0 1px rgba(235, 203, 139, 0.1) inset,
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(235, 203, 139, 0.08);
}

.pricing-card-featured:hover .pricing-card-inner {
    border-color: rgba(235, 203, 139, 0.35);
    box-shadow: 
        0 0 0 1px rgba(235, 203, 139, 0.15) inset,
        0 24px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(235, 203, 139, 0.12);
}

/* Responsive Featured Card */
@media (max-width: 768px) {
    .pricing-card-featured {
        transform: scale(1) !important;
    }
}

/* Badge Styling */
.pricing-card > div:first-child span {
    backdrop-filter: blur(10px);
}

/* Countdown Timer */
#countdown {
    letter-spacing: 0.05em;
}

/* Stock Counter */
[data-stock] {
    transition: all 0.3s ease;
}

/* Button Transitions */
.pricing-card-inner a {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-inner a:hover {
    transform: translateY(-1px);
}

/* Checkmark Icons */
.pricing-card-inner svg {
    transition: transform 0.2s ease;
}

.pricing-card:hover svg {
    transform: scale(1.05);
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

/* ================================
   Scrollbar
================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ================================
   Feature Grid (New Layout)
================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 203, 139, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(235, 203, 139, 0.3);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 40px rgba(235, 203, 139, 0.1);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.15) 0%, rgba(184, 134, 11, 0.08) 100%);
    border: 1px solid rgba(235, 203, 139, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.15);
    transition: all 0.4s;
}

.feature-card:hover .feature-card-icon {
    box-shadow: 0 0 40px rgba(235, 203, 139, 0.25);
    transform: scale(1.05);
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.feature-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-card-desc {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.feature-card-placeholder {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    transition: all 0.3s;
}

.feature-card:hover .feature-card-placeholder {
    background: rgba(235, 203, 139, 0.1);
    border-color: rgba(235, 203, 139, 0.2);
    color: var(--gold);
}

/* Tablet Layout */
@media (max-width: 1199px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .feature-card:last-child {
        grid-column: 2;
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card:last-child {
        grid-column: span 2;
    }
    
    .feature-card-icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-card-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .feature-card-title {
        font-size: 1rem;
    }
    
    .feature-card-desc {
        font-size: 0.8rem;
    }
}

/* ================================
   Mobile Sticky CTA Optimization
================================ */

@media (max-width: 767px) {
    #stickyCta .grid {
        grid-template-columns: 1fr;
    }
    
    #stickyCta > div > div > a:first-child,
    #stickyCta > div > div > a:last-child {
        display: none;
    }
    
    #stickyCta > div > div > a:nth-child(2) {
        display: flex;
    }
    
    .sticky-cta-all-plans {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
        font-size: 0.75rem;
        color: var(--text-tertiary);
        text-decoration: underline;
    }
}

/* ================================
   Featured Functions (Main 4)
================================ */

.featured-functions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-function-card {
    background: var(--surface-2);
    border: 1px solid rgba(235, 203, 139, 0.2);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-function-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 203, 139, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.featured-function-card:hover {
    border-color: rgba(235, 203, 139, 0.4);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 60px rgba(235, 203, 139, 0.15);
    transform: translateY(-4px);
}

.featured-function-card:hover::before {
    opacity: 1;
}

.featured-function-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.15) 0%, rgba(235, 203, 139, 0.05) 100%);
    border: 1px solid rgba(235, 203, 139, 0.3);
    border-radius: 8px;
    padding: 0.25rem 0.75rem;
    color: var(--gold);
    backdrop-filter: blur(10px);
}

.featured-function-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
    border: 1px solid rgba(235, 203, 139, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 40px rgba(235, 203, 139, 0.2);
    transition: all 0.5s;
}

.featured-function-card:hover .featured-function-icon {
    box-shadow: 0 0 50px rgba(235, 203, 139, 0.3);
    transform: scale(1.05);
}

.featured-function-icon svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
}

.featured-function-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.featured-function-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-function-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-video-element {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.featured-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%);
}

.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.2) 0%, rgba(235, 203, 139, 0.1) 100%);
    border: 2px solid rgba(235, 203, 139, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.3) 0%, rgba(235, 203, 139, 0.15) 100%);
    border-color: rgba(235, 203, 139, 0.5);
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.3);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--gold);
    margin-left: 4px;
}

/* Secondary Functions (Compact Grid) */
.secondary-functions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.secondary-function-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.secondary-function-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(235, 203, 139, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.secondary-function-card:hover {
    border-color: rgba(235, 203, 139, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.secondary-function-card:hover::before {
    opacity: 1;
}

.secondary-function-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(235, 203, 139, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
    border: 1px solid rgba(235, 203, 139, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.secondary-function-card:hover .secondary-function-icon {
    box-shadow: 0 0 20px rgba(235, 203, 139, 0.15);
    transform: scale(1.05);
}

.secondary-function-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.secondary-function-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.secondary-function-desc {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* Responsive Layouts */
@media (max-width: 1199px) {
    .featured-functions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .secondary-functions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .featured-functions-grid {
        gap: 1.25rem;
    }
    
    .featured-function-card {
        padding: 1.5rem;
    }
    
    .featured-function-icon {
        width: 64px;
        height: 64px;
    }
    
    .featured-function-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .featured-function-title {
        font-size: 1.25rem;
    }
    
    .featured-function-desc {
        font-size: 0.875rem;
    }
    
    .secondary-functions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .secondary-function-card {
        padding: 1rem;
    }
}

/* ================================
   Smart Clone Timeline Styles
================================ */

.smart-clone-timeline {
    position: relative;
}

.timeline-step {
    position: relative;
}

.timeline-step-indicator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-connector {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(235, 203, 139, 0.5) 0%, rgba(235, 203, 139, 0.1) 100%);
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.timeline-step:last-child .timeline-connector {
    display: none;
}

/* Timeline Step Hover Effects */
.timeline-step:hover .timeline-step-indicator > div:first-child {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(235, 203, 139, 0.6);
}

/* ================================
   Success Block Redesign Styles
================================ */

.success-stat-card {
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.success-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(235, 203, 139, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.success-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(235, 203, 139, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(235, 203, 139, 0.15);
}

.success-stat-card:hover::before {
    opacity: 1;
}

.success-stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(235, 203, 139, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.success-stat-card:hover .success-stat-glow {
    opacity: 1;
}

.success-number {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 40px rgba(235, 203, 139, 0.3);
}

.success-stat-card:hover .success-number {
    transform: scale(1.1);
    text-shadow: 0 0 60px rgba(235, 203, 139, 0.5);
}

/* Responsive Success Stats */
@media (max-width: 768px) {
    .success-stat-card {
        padding: 2rem 1.5rem;
    }
    
    .success-number {
        font-size: 3rem !important;
    }
}