/* CSS Design System for Trimurti Feeds */
:root {
    --primary: #e63946;
    --primary-light: #ff4d5a;
    --primary-dark: #cc313d;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #f1faee;
    --bg-light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #2b2d42;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(230, 57, 70, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    z-index: 2000;
    transition: width 0.1s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f1faee 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(230, 57, 70, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--secondary);
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-btns {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

.hero-img-container {
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.floating-shape {
    position: absolute;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    top: -50px;
    right: -30px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-light);
    bottom: -40px;
    left: -20px;
    animation-delay: -3s;
}

.hero-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background-color: var(--secondary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
}

.section-title p {
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Spotlight Section Mobile Adjustment */
@media (max-width: 991px) {
    .spotlight .hero-content {
        padding: 20px;
        margin-top: 20px;
    }

    .spotlight .hero-text h2 {
        font-size: 1.8rem;
    }
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background patterns */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header nav {
        height: 70px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-flex {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
    }

    .step::after {
        display: none;
    }
}