:root {
    --bg-color: #010304;
    --text-primary: #f1f1f3;
    --text-secondary: #a1a1a1;
    --accent-color: #2563eb;
    --font-main: 'Bricolage Grotesque', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Effects */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Light Spotlights (Blue Envy) */
.spotlight {
    position: absolute;
    top: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.spotlight-left {
    left: -200px;
    animation: pulse-light 8s infinite alternate;
}

.spotlight-right {
    right: -200px;
    animation: pulse-light 8s infinite alternate-reverse;
}

@keyframes pulse-light {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Descending Particles (Stars) */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    /* Subtle texture */
    opacity: 0.3;
}

.falling-stars {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background-image:
        radial-gradient(1px 1px at 10% 10%, white, transparent),
        radial-gradient(1px 1px at 20% 40%, white, transparent),
        radial-gradient(2px 2px at 30% 70%, white, transparent),
        radial-gradient(1px 1px at 40% 20%, white, transparent),
        radial-gradient(2px 2px at 60% 60%, white, transparent),
        radial-gradient(1px 1px at 80% 30%, white, transparent),
        radial-gradient(1px 1px at 90% 80%, white, transparent);
    background-size: 100% 50%;
    animation: fall 20s linear infinite;
    opacity: 0.5;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50%);
    }
}

/* Rising Particles from Phone */
.hero-image-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse-aura 4s infinite alternate;
}

@keyframes pulse-aura {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.particle {
    position: absolute;
    bottom: 0;
    width: 4px;
    height: 4px;
    background: rgba(56, 189, 248, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: rise 4s infinite ease-in;
    opacity: 0;
}

@keyframes rise {
    0% {
        bottom: 0;
        opacity: 0;
        transform: translateX(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        bottom: 300px;
        opacity: 0;
        transform: translateX(var(--drift));
    }
}

/* Light Rays */
.light-ray {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
    filter: hue-rotate(-10deg) brightness(1.2);
}

.light-ray img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.light-ray-left {
    left: 0;
    transform: translate(-10%, -10%);
}

.light-ray-right {
    right: 0;
    transform: translate(10%, -10%);
}

/* Rotating Ring */
.ring-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    /* Reduced size */
    height: 70vw;
    max-width: 900px;
    /* Smaller max */
    max-height: 900px;
    z-index: 1;
    /* Brought forward */
    pointer-events: none;
    opacity: 0.5;
    /* Increased opacity */
    mix-blend-mode: screen;
    /* Changed blend mode */
}

@media (max-width: 768px) {
    .ring-container {
        top: 30%;
        /* Even higher on mobile */
        width: 140vw;
        /* Make it huge on mobile as requested */
        height: 140vw;
        opacity: 0.2;
    }
}

.rotating-ring {
    width: 100%;
    height: 100%;
    display: block;
    animation: spin 60s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: #000000;
    /* Pitch Black base */
}

/* Light Spotlights (Blue Envy) */
.spotlight {
    position: absolute;
    top: -300px;
    /* Moved higher */
    width: 800px;
    /* Larger spread */
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.8) 0%, rgba(37, 99, 235, 0.4) 40%, transparent 70%);
    /* Brighter */
    filter: blur(80px);
    /* Less blur for sharper rays */
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    /* Full opacity */
    mix-blend-mode: screen;
}

.spotlight-left {
    left: -300px;
}

.spotlight-right {
    right: -300px;
}

/* Snow Particles from Spotlights */
.snow-particles {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.snow-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
    animation: snow-fall linear infinite;
    opacity: 0;
}

@keyframes snow-fall {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }

    10% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(var(--drift-x, 50px));
    }
}

height: 60vw;
border-radius: 50%;
filter: blur(120px);
z-index: -2;
opacity: 0.2;
/* Subtler opacity */
pointer-events: none;
}

.glow-left {
    top: -20%;
    left: -20%;
    background: #0ea5e9;
    /* Sky Blue */
}

.glow-right {
    top: 10%;
    right: -20%;
    background: #06b6d4;
    /* Cyan */
}

/* Typography & Content */
.hero-badge {
    display: inline-flex;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 13px;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f1f1f3;
    font-weight: 500;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1), 0 4px 64px 0 rgba(0, 0, 0, 0.4);
}

.hero-title {
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: #f1f1f3;
}

.hero-title .highlight {
    background: linear-gradient(to right, #ffffff 40%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #a1a1a1;
    max-width: 750px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* Image Container */
.hero-image-container {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0;
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    z-index: 999;
    /* Hero image above everything */
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 80px rgba(37, 99, 235, 0.2));
}

.site-footer {
    padding: 40px 0 80px;
    text-align: center;
}

.site-footer p {
    font-size: 14px;
    color: var(--text-secondary);
}


/* Star effect using JS will populate .stars-container */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
}

/* Hadith Section */
.hadith-section {
    padding: 160px 0;
    position: relative;
    background-color: var(--bg-color);
    overflow: hidden;
    text-align: center;
}

.hadith-container {
    position: relative;
    z-index: 2;
}

.hadith-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 48px;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
    opacity: 0;
}

.lightning-icon {
    font-size: 18px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px #2563eb);
}

.hadith-quote {
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.01em;
    /* opacity controlled by JS animation on individual chars */
}

.saw {
    font-size: 0.7em;
    vertical-align: middle;
    color: var(--text-secondary);
    opacity: 0.8;
}

.quote-main {
    display: block;
    margin-top: 10px;
    font-size: 1.1em;
    letter-spacing: -0.02em;
}

.hadith-subtext {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0;
}

.hadith-subtext strong {
    color: var(--text-primary);
}

.bottom-light-ray {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 600px;
    background: radial-gradient(ellipse at center bottom, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
    mix-blend-mode: screen;
}

.hadith-glow-core {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle at center bottom, rgba(37, 99, 235, 0.6) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Features Section */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    text-align: left;
}

.features-left {
    flex: 1;
    max-width: 600px;
}

.features-copy {
    margin-bottom: 60px;
    opacity: 0;
}

.features-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    /* High-End Gradient */
    background: linear-gradient(to right, #ffffff 10%, #7dd3fc 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.features-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-desc strong {
    color: var(--text-primary);
}

/* Ticker Styles */
.tickers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding: 20px 0;
}

.ticker-row {
    display: flex;
    white-space: nowrap;
    gap: 16px;
    user-select: none;
}

.ticker-content {
    display: flex;
    gap: 16px;
    animation: scroll 40s linear infinite;
}

.ticker-left .ticker-content {
    animation-direction: normal;
}

.ticker-right .ticker-content {
    animation-direction: reverse;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.feature-chip {
    padding: 14px 24px;
    background: rgba(14, 165, 233, 0.05);
    /* Subtle Blue Tint */
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 100px;
    font-size: 14px;
    color: #e0f2fe;
    /* Light Blue Text */
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature-chip:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    transform: translateY(-1px);
}

.check-icon {
    color: #38bdf8;
    /* Electric Blue */
    font-style: normal;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

-webkit-backdrop-filter: blur(10px);
transition: transform 0.3s ease,
border-color 0.3s ease;
}

.feature-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
}

.check-icon {
    color: #3b82f6;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
}

/* Access Card */
.features-right {
    flex: 0 0 500px;
    position: sticky;
    top: 100px;
}

.access-card {
    background: rgba(15, 23, 42, 0.6);
    /* Slate 900 Glass */
    border: 1px solid rgba(56, 189, 248, 0.2);
    /* Blue border */
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner light */
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Background */
.access-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15), transparent 60%);
    animation: rotateGradient 15s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.lock-icon {
    font-size: 28px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 8px;
    border-radius: 12px;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

/* 2-Column Grid Layout */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

/* Premium Features Grid - Simple 2-Column Layout */
.premium-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 14px;
    color: #e2e8f0;
    transition: all 0.2s ease;
}

.premium-feature:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.premium-feature span {
    font-size: 16px;
}

/* Lucide Line Icons */
.feature-icon {
    width: 20px;
    height: 20px;
    stroke: #38bdf8;
    stroke-width: 2;
    flex-shrink: 0;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
}

.premium-feature:hover .feature-icon {
    stroke: #7dd3fc;
    transform: scale(1.1);
}

/* Animated state (triggered by GSAP) */
.feature-icon.animated {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 500px) {
    .premium-features-grid {
        grid-template-columns: 1fr;
    }
}

.access-column {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.column-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.access-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.access-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
}

.list-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.badge-new {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: auto;
    letter-spacing: 0.05em;
}

/* Premium Features Row */
.access-premium {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.premium-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.premium-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 100px;
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive */
@media (max-width: 600px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Features */
@media (max-width: 1100px) {
    .features-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
    }

    .features-left {
        max-width: 100%;
    }

    .features-right {
        width: 100%;
        max-width: 500px;
        flex: none;
        position: static;
    }

    .access-list {
        text-align: left;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-color);
}

.reviews-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.reviews-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reviews-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.reviews-grid {
    column-count: 3;
    column-gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    break-inside: avoid;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
    text-align: left;
    /* FIX: Force left alignment */
}

.review-card:hover {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(56, 189, 248, 0.2);
}

/* Senja Style Layout: Header with Avatar & Name */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.reviewer-role {
    font-size: 12px;
    color: #94a3b8;
}

.review-stars {
    color: #fbbf24;
    /* Amber 400 */
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Highlight Effect */
.highlight-text {
    background: rgba(251, 191, 36, 0.15);
    /* Low opacity amber */
    color: #fcd34d;
    /* Amber 300 text */
    padding: 0 4px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .reviews-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 80px 0;
    }
}