/* =========================================
   KAUFAST RAM - Dark Tech Landing Page CSS
   ========================================= */

:root {
    /* Color Palette */
    --bg-color: #050505;
    --bg-surface: #121212;
    --bg-surface-glass: rgba(18, 18, 18, 0.6);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-color: #00f0ff;
    /* Electric Blue for tech vibe */
    --accent-glow: rgba(0, 240, 255, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.glow-2 {
    top: 40%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
    /* Subtle purple mix */
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--accent-color);
}

.highlight-text {
    background: linear-gradient(90deg, var(--text-main) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism utility */
.glass-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-glow {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-glow:hover {
    background-color: #fff;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: background-color var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 35px;
    width: auto;
}

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

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

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

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

/* Hero Section */
.hero {
    min-height: 66vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-item i {
    color: #FFD700;
    /* Gold star */
}

/* Countdown Banner */
.countdown-banner {
    background: linear-gradient(135deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.9) 100%);
    border: 1px solid var(--accent-color);
    padding: 24px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.countdown-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.countdown-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 70px;
}

.time-box span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.time-box small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Hero Visual - Dynamic 3D Composition */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.floating-element {
    position: absolute;
    z-index: 2;
}

.main-ram-image {
    width: 293px;
    max-width: 90vw;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
    z-index: 5;
}

.float-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 30px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.float-badge i {
    font-size: 1.5rem;
}

.float-badge div {
    display: flex;
    flex-direction: column;
}

.float-badge strong {
    font-size: 0.95rem;
    color: #fff;
}

.float-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-left {
    top: 20%;
    left: -10%;
    animation: float 5s ease-in-out infinite 1s;
}

.badge-right {
    bottom: 25%;
    right: -5%;
    animation: float 7s ease-in-out infinite 2s;
}

.data-stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.stream-1 {
    height: 150px;
    left: 20%;
    animation: stream-fall 3s linear infinite;
}

.stream-2 {
    height: 100px;
    right: 30%;
    animation: stream-fall 4s linear infinite 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateX(10deg) rotateY(0deg);
    }

    100% {
        transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
    }
}

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

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes stream-fall {
    0% {
        top: -20%;
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        top: 120%;
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        left: -150%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* Features */
.feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.feature-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 4px;
}

.feature-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.border-radius {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.specs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.usage-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.usage-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-image {
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
    transition: color var(--transition-normal);
}

.product-card:hover .product-image {
    color: var(--accent-color);
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 8px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.product-specs {
    list-style: none;
    margin-bottom: 32px;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.product-specs i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    background-color: rgba(10, 10, 10, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp Green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--bg-surface-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal);
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

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

    .trust-indicators {
        justify-content: center;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .products-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}