/* ============================================
   AusomeNotes - Homepage Styles
   ============================================ */

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 7rem 2rem 5rem;
    overflow: hidden;
    background: #1a0a2e;
}

/* Animated Mesh Gradient Background */
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(124, 58, 237, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(192, 38, 211, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 80%, rgba(232, 121, 249, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 80% 40% at 70% 20%, rgba(147, 51, 234, 0.5) 0%, transparent 50%);
    animation: meshMove 15s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 50% 50%, 0% 0%, 100% 0%, 50% 50%;
    }
    50% { 
        background-position: 100% 100%, 50% 50%, 0% 100%, 100% 0%;
        filter: hue-rotate(15deg);
    }
    75% {
        background-position: 0% 100%, 100% 0%, 50% 50%, 0% 0%;
    }
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #7C3AED, #C026D3);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #D946EF, #9333EA);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #E879F9, #7C3AED);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(30px, 50px) scale(1.05); }
}

/* Noise Texture Overlay */
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Grid Pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.sparkle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 25%; left: 85%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 60%; left: 15%; animation-delay: 1s; }
.sparkle:nth-child(4) { top: 75%; left: 90%; animation-delay: 1.5s; }
.sparkle:nth-child(5) { top: 40%; left: 5%; animation-delay: 2s; }
.sparkle:nth-child(6) { top: 85%; left: 25%; animation-delay: 2.5s; }
.sparkle:nth-child(7) { top: 10%; left: 60%; animation-delay: 0.7s; }
.sparkle:nth-child(8) { top: 90%; left: 70%; animation-delay: 1.2s; }

/* Hero Container */
.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fuchsia-light);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    color: var(--white);
    line-height: 1.20;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
    animation: slideUp 0.8s ease-out both;
}

.hero-title .line:nth-child(2) span {
    animation-delay: 0.15s;
}

.hero-title .line:nth-child(3) span {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #FBBF24 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Central Logo Container */
.logo-showcase {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Ring */
.logo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: ringRotate 30s linear infinite;
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--fuchsia);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--fuchsia), 0 0 40px var(--fuchsia);
}

.logo-ring-2 {
    width: 115%;
    height: 115%;
    top: -7.5%;
    left: -7.5%;
    animation-direction: reverse;
    animation-duration: 40s;
}

.logo-ring-2::before {
    background: var(--purple-light);
    box-shadow: 0 0 20px var(--purple-light), 0 0 40px var(--purple-light);
}

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

/* Glow Effect */
.logo-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

/* Main Logo */
.hero-logo {
    width: 280px;
    height: 280px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Feature Cards - Floating around logo */
.feature-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: cardFloat 5s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-float:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-float-icon.purple { background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(147, 51, 234, 0.3)); }
.feature-float-icon.fuchsia { background: linear-gradient(135deg, rgba(217, 70, 239, 0.3), rgba(192, 38, 211, 0.3)); }
.feature-float-icon.amber { background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.3)); }
.feature-float-icon.teal { background: linear-gradient(135deg, rgba(45, 212, 191, 0.3), rgba(20, 184, 166, 0.3)); }

.feature-float-text {
    display: flex;
    flex-direction: column;
}

.feature-float-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

/* Positioning */
.ff-1 {
    top: 0;
    left: -30px;
    animation-delay: 0s;
}

.ff-2 {
    top: 30%;
    right: -100px;
    animation-delay: -1.25s;
}

.ff-3 {
    bottom: 25%;
    left: -110px;
    animation-delay: -2.5s;
}

.ff-4 {
    bottom: 0;
    right: -20px;
    animation-delay: -3.75s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ============ FEATURES SECTION ============ */
.features {
    padding: 8rem 2rem;
    background: var(--gradient-soft);
}

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

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon.purple { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%); }
.feature-icon.fuchsia { background: linear-gradient(135deg, #FDF4FF 0%, #FAE8FF 100%); }
.feature-icon.amber { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.feature-icon.teal { background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%); }

.feature-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    z-index: 1;
}

.step-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    max-width: 200px;
    margin: 0 auto;
}

/* ============ USE CASES ============ */
.use-cases {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #F5F3FF 0%, #FDF4FF 100%);
}

.use-cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.use-case-badge {
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.use-case-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--purple-light);
}

/* ============ BENEFITS ============ */
.benefits {
    padding: 6rem 2rem;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.benefit-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ============ TRUST SECTION ============ */
.trust {
    padding: 6rem 2rem;
    background: var(--gradient-soft);
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.trust-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 2rem;
    position: relative;
}

.trust-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -30px;
    font-size: 6rem;
    color: var(--purple-light);
    opacity: 0.3;
    font-family: var(--font-display);
}

.trust-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.trust-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
}

.trust-info {
    text-align: left;
}

.trust-name {
    font-weight: 600;
    color: var(--gray-900);
}

.trust-role {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============ CTA SECTION ============ */
.cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 35%, #C026D3 65%, #E879F9 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(232, 121, 249, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.4) 0%, transparent 40%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta .btn-primary {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

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

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

    .logo-showcase {
        width: 350px;
        height: 350px;
    }

    .hero-logo {
        width: 220px;
        height: 220px;
    }

    .feature-float {
        display: none;
    }

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

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .steps-container::before {
        display: none;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .logo-showcase {
        width: 280px;
        height: 280px;
    }

    .hero-logo {
        width: 180px;
        height: 180px;
    }

    .logo-glow {
        width: 180px;
        height: 180px;
    }

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

    .steps-container {
        grid-template-columns: 1fr;
    }

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

    .scroll-indicator {
        display: none;
    }
}
