/* Global Styles for RamaX */

:root {
    --bg-primary: #0a0b14;
    --bg-secondary: #0f1019;
    --bg-tertiary: #161822;
    --bg-card: #13141f;
    --bg-light: #f8f9fc;
    --bg-light-secondary: #eef0f5;
    --accent-primary: #dda1ff;
    --accent-primary-dim: #341d44;
    --accent-primary-dark: #230d37;
    --accent-primary-solid: #dda1ff;
    --accent-secondary: #a78bfa;
    --accent-blue: #60a5fa;
    --accent-pink: #f472b6;
    --accent-warning: #fbbf24;
    --accent-success: #4ade80;
    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dark: #1a1a2e;
    --text-dark-secondary: #4a4a6a;
    --border-color: #230d37;
    --border-light: #e2e4ea;
    --border-accent: #7c3aed33;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background elements */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    background-image: url('public/assets/images/ramax20.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.molecular-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(168, 85, 247, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    display: none; /* Hidden to show background image */
}

.molecule {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    display: none; /* Hidden to show background image */
}

.molecule-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.molecule-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-ramax {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ramax-logo-img {
    height: 32px;
    width: auto;
}

.logo-diffuse {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

/* Main content */
main {
    position: relative;
    z-index: 5;
    padding-top: 80px;
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 2rem;
    background: transparent;
}

footer p {
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Common Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(216, 180, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(216, 180, 254, 0.4);
}

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

.btn-secondary:hover {
    background: var(--accent-primary-dim);
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.00em;
}

.hero h1 em {
    font-style: italic;
    font-size: 3.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero h1 .introducing {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.5em;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.hero-subtagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section styling */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .hero-tagline {
        font-size: 1.25rem;
    }
}

