/* ============================================
   GulGul.id — Home Page Styles
   Fun Bright Egg Theme 🥚🌞
   ============================================ */

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 194, 51, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-glow 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 26, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {

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

    50% {
        transform: translate(30px, -20px);
    }
}

/* Particle canvas */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-3xl) 0;
}

.hero-text {
    max-width: 600px;
}

.hero-text .badge-live {
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text h1 {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text h1 .brand-name {
    display: block;
    background: var(--gradient-egg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3em;
    letter-spacing: -0.03em;
}

.hero-text .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s both;
}

.hero-visual img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(139, 94, 52, 0.15), 0 0 0 6px rgba(255, 184, 0, 0.15);
}

/* Hero logo — no box shadow, no rounded corners */
.hero-visual img.hero-logo-img {
    max-width: 600px;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 12px 32px rgba(139, 94, 52, 0.25));
}

/* Navbar logo hide on homepage hero */
.navbar .nav-logo-img {
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.navbar.logo-hidden .nav-logo-img {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.hero-visual .hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 210, 51, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

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

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll .scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--yolk), transparent);
    border-radius: 2px;
    animation: scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-weight: 600;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* --- Value Proposition Section --- */
.value-section {
    position: relative;
    background: var(--bg-primary);
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.value-text h2 {
    margin-bottom: var(--space-lg);
}

.value-text .value-lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.value-text p {
    margin-bottom: var(--space-lg);
}

.value-image {
    position: relative;
}

.value-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lift);
}

.value-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--yolk-bright);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.4;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-egg);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    border-radius: 4px 4px 0 0;
}

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

.feature-card:hover {
    border-color: var(--border-yolk);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    border: 1px solid var(--border-yolk);
}

.feature-card h4 {
    margin-bottom: var(--space-sm);
    font-size: 1.05rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Highlight Quote --- */
.quote-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
    background: linear-gradient(135deg, #FFB800, #FF7A2F);
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.quote-content .quote-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    margin-bottom: var(--space-lg);
}

.quote-content blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    font-style: italic;
    color: #fff;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- Zero Oil / Product Section --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lift);
}

.product-image .product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-egg);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-yolk);
}

.product-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.benefit-card:hover {
    border-color: var(--border-yolk);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.benefit-card .benefit-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.benefit-card h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-box {
    position: relative;
    background: var(--gradient-hero);
    border: 2px solid var(--border-yolk);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-yolk);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 166, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 26, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-md);
}

.cta-box .cta-price {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-egg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.cta-box p {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* --- Stats --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-yolk);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-egg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* --- Portfolio Section --- */
.portfolio-section {
    background: var(--bg-secondary);
}

.portfolio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.portfolio-map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lift), 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.portfolio-map img {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
}

.portfolio-map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 12px 20px;
}

.portfolio-count {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.count-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #22C55E;
    line-height: 1;
}

.count-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-info h3 {
    margin-bottom: var(--space-lg);
}

.portfolio-info>p {
    margin-bottom: var(--space-xl);
    font-size: 1.05rem;
}

/* Tech items: AirTag + Find My */
.tracking-tech {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.tech-item:hover {
    border-color: var(--border-yolk);
    box-shadow: var(--shadow-card-hover);
    transform: translateX(4px);
}

.tech-img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.tech-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tech-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Setoran Tetap Notice */
.setoran-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
    border-left: 4px solid #22C55E;
}

.setoran-notice svg {
    flex-shrink: 0;
    color: #22C55E;
    margin-top: 2px;
}

.setoran-notice p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.setoran-notice strong {
    color: var(--text-primary);
}

/* --- Responsive Home --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .product-grid {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: var(--navbar-height);
        padding-bottom: var(--space-2xl);
        overflow-x: hidden;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
        padding: var(--space-lg) 0;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-text .badge-live {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 220px;
        margin: 0 auto;
    }

    .hero-visual img.hero-logo-img {
        max-width: 200px;
    }

    .hero-visual .hero-glow {
        width: 180px;
        height: 180px;
    }

    .hero-scroll {
        display: none;
    }

    /* Value */
    .value-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .value-text .value-lead {
        font-size: 1.1rem;
    }

    .value-image::before {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Quote */
    .quote-section {
        padding: var(--space-3xl) 0;
    }

    .quote-content .quote-icon {
        font-size: 3rem;
    }

    /* Product */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image img {
        max-width: 320px;
        margin: 0 auto;
        display: block;
    }

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

    .benefit-card .benefit-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Stats */
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Portfolio */
    .portfolio-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .portfolio-map img {
        max-width: 100%;
    }

    .portfolio-map-overlay {
        bottom: 10px;
        left: 10px;
        padding: 8px 14px;
    }

    .count-number {
        font-size: 1.4rem;
    }

    .tech-img {
        width: 44px;
        height: 44px;
    }

    /* CTA Box */
    .cta-section {
        padding: var(--space-3xl) 0;
    }

    .cta-box {
        padding: var(--space-2xl) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-visual img {
        max-width: 180px;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .stat-item {
        padding: var(--space-md);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: var(--space-xl) var(--space-lg);
    }
}