/* 
   Marena Digital - Premium Digital Agency
   Pure CSS for high-converting static website
*/

:root {
    --cyan-custom: #06B6D4;
    --blue-custom: #3B82F6;
    --purple-custom: #A855F7;
    --green-custom: #10B569;
    --pink-custom: #EC4899;
    --black: #000000;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, var(--cyan-custom), var(--blue-custom), var(--purple-custom));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(to right, var(--cyan-custom), var(--blue-custom));
    color: var(--black);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

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

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

.logo img {
    height: 40px;
    border-radius: 4px;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--cyan-custom);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--cyan-custom);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

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

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.125rem;
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.floating-card {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.code-snippet {
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--cyan-custom);
    opacity: 0.8;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
    section {
        padding: 80px 0;
    }
}

.section-header p {
    color: rgba(255, 255, 255, 0.5);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

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

.service-card {
    transition: var(--transition);
    border-top: 4px solid transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05), 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.25), 0 0 10px rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.5);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pricing-card.popular {
    border: 1px solid var(--cyan-custom);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.1);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan-custom);
    color: var(--black);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cyan-custom);
    margin: 24px 0;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li::before {
    content: "✓";
    color: var(--cyan-custom);
    font-weight: 800;
}

/* CIPC Wizard */
.wizard-container {
    max-width: 800px;
    margin: 0 auto;
}

.progress-bar {
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    margin-bottom: 48px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--green-custom);
    width: 16.66%;
    transition: width 0.5s ease;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--cyan-custom);
}

/* Footer */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-col h4 {
    margin-bottom: 24px;
}

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

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

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.process-item {
    text-align: center;
    position: relative;
}

.process-number {
    width: 64px;
    height: 64px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan-custom);
}

@media (max-width: 1024px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-answer {
    padding: 0 24px 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-content h1 { font-size: 3.5rem; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    header {
        padding: 16px 0;
    }
    .logo {
        font-size: 1rem;
    }
    .logo img {
        height: 32px;
    }
    nav .btn-primary {
        display: none; /* Hide 'Get Started' in mobile header to save space, it's in the menu anyway */
    }
    .glass-card {
        padding: 24px;
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .hero-grid, .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-blob {
        width: 200px;
        height: 200px;
    }
    .nav-links { display: none; }
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 40px 24px;
        border-bottom: 1px solid var(--glass-border);
        gap: 24px;
        text-align: center;
        backdrop-filter: blur(20px);
    }
    .mobile-toggle { display: block; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
}

/* Utility Classes */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {
    .mobile-only { display: block; }
    .desktop-only { display: none; }
    .hero-centered {
        padding: 60px 24px !important;
    }
    .hero-centered h1 {
        font-size: 2.25rem !important;
    }
}
