@font-face {
    font-family: 'Rota'; /* Choose any name you want to reference this font */
    src: url('../fonts/rota.woff2') format('woff2'),
         url('../fonts/rota.woff') format('woff'),
         url('../fonts/rota.ttf') format('truetype'),
         url('../fonts/rota.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* This helps with font loading performance */
  }

/* Base Styles */

:root {
    --primary: #5247e7;
    --secondary: #ff3e6c;
    --tertiary: #00d4aa;
    --dark: #0f0f1a;
    --light: #f3f3ff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}



/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    margin-bottom: 6rem;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(15, 15, 26, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Navigation */
.nav {
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    mix-blend-mode: difference;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    font-family: 'Rota', sans-serif;
}

.logo .o-letter {
    color: transparent;
    position: relative;
    margin: 0 2px;
}

.logo .o-letter::before {
    content: 'o';
    position: absolute;
    top: 0;
    left: 0;
    color: #ff3e6c;
}

.nav-indicator {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(67, 56, 202, 0.15) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.hero-cta:hover::before {
    transform: translateX(0);
}

.hero-visual {
    position: relative;
}

/* Hover Reveal Effect */
.hover-replace {
    position: relative;
    cursor: pointer;
}

.hover-replace::after {
    content: attr(data-alt);
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.hover-replace:hover span { opacity: 0; } /* Hide default text */
.hover-replace:hover::after {
    opacity: 1;
    font-size: 0.8em;
    width: 200px;
    background: #5247e7;
    padding: 20px;
    border-radius: 10px;
    top: -100px;
    left: -150px;
}

.rota-sphere {
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle at 30% 30%, var(--primary), transparent 70%),
                radial-gradient(circle at 70% 70%, var(--secondary), transparent 70%);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 100px rgba(96, 48, 176, 0.5);
    animation: rotateSphere 20s infinite linear;
}

@keyframes rotateSphere {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rota-sphere::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulse 4s infinite ease-in-out;
}

.rota-sphere::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    animation: pulse 4s infinite ease-in-out reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tertiary);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

/* About Section */
.about {
    padding: 10rem 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(96, 48, 176, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 62, 108, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.about .section-title::after {
    background: linear-gradient(90deg, var(--secondary), var(--tertiary));
}

.about .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.8rem;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--tertiary);
    border-radius: 2px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
}

.values-list li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.values-list li::before {
    content: '';
    position: absolute;
    top: 0.7rem;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.values-list span {
    color: white;
    font-weight: 600;
}

/* Mission Section */
.mission {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%235247e7' fill-opacity='0.05'%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");
    opacity: 0.5;
}

.focus-statement {
    margin-top: 2rem;
}

.focus-statement p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(15, 15, 26, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.focus-statement span {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.focus-statement span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.mission-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(96, 48, 176, 0.1), rgba(255, 62, 108, 0.1));
    z-index: -1;
    transform: translateY(100%);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.mission-card:hover::before {
    transform: translateY(0);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 16px;
    color: var(--primary);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.mission-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.mission-card p {
    color: rgba(15, 15, 26, 0.7);
    font-size: 1.1rem;
}

/* Journey Section */
.journey {
    padding: 10rem 0;
    background: var(--dark);
    color: white;
}

.journey .section-title::after {
    background: linear-gradient(90deg, var(--secondary), var(--tertiary));
}

.journey .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.industry-insight {
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.industry-insight p {
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--tertiary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 8px 8px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tertiary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Highlight current milestone */
.current-milestone .timeline-date {
    color: #ff6b6b; /* Red for urgency */
    font-weight: 700;
}
.current-milestone::before {  /* Timeline connector */
    background: #ff6b6b;
}


/* Manifesto Section */
.manifesto {
    background: #0a0a0a;
    padding: 5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white; /* Add this line to override body text color */
}

.manifesto .section-title,
.manifesto .section-subtitle {
    color: white;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.manifesto-item {
    background: rgba(30,30,30,0.8); /* Slightly lighter than #111 */
    border-radius: 8px;
    padding: 2rem;
    border-left: 3px solid var(--primary); /* Changed from #6c9ff5 to use your variable */
}



.manifesto-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary); /* Changed from #6c9ff5 to use your variable */
    margin-bottom: 1rem;
}

.manifesto-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white; /* Explicit white for headings */
}

.manifesto-item p {
    opacity: 0.8;
    line-height: 1.6;
    color: rgba(255,255,255,0.8); /* Semi-transparent white */
}

.manifesto-item em {
    color: var(--tertiary); /* Style emphasized text */
    font-style: normal;
}




/* Contact Section */
.contact {
    padding: 10rem 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235247e7' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.email-icon {
    background: var(--primary);
}

.mail-icon {
    background: var(--secondary);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--secondary);
}

.contact-text address {
    font-style: normal;
    color: rgba(15, 15, 26, 0.7);
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-divider {
    width: 1px;
    height: 100px;
    background: rgba(15, 15, 26, 0.1);
    margin: 0 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'Rota', sans-serif;
    letter-spacing: 1px;
}

.footer-logo .o-letter {
    color: transparent;
    position: relative;
    margin: 0 2px;
}

.footer-logo .o-letter::before {
    content: 'o';
    position: absolute;
    top: 0;
    left: 0;
    color: #5247e7;
}

.footer-text {
    max-width: 300px;
    margin-bottom: 2rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-nav h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--tertiary);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* cookie */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}
.cookie-content a {
    color: rgb(255, 107, 107);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.cookie-btn.primary {
    background: var(--primary);
    color: #fff;
}
.cookie-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--primary);
}

/* critique */
.critique-list {
    list-style-type: none;
    counter-reset: custom-counter;
}

.critique-list li::before {
    content: counter(custom-counter) ".";
    counter-increment: custom-counter;
    color: var(--primary);
    font-weight: bold;
    margin-right: 8px;
}

.critique-list li:nth-child(3) {
    border-top: 1px dashed rgba(255,255,255,0.3);
    padding-top: 12px;
    margin-top: 8px;
}

.critique-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}



/* Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        flex-direction: column;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-divider {
        width: 80%;
        height: 1px;
        margin: 1rem 0 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-right: 0;
        padding-left: 50px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(even)::before {
        left: 12px;
        right: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}


/* Additional CSS for the modified sections */

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: white;
}

.hero-cta.secondary:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

/* Technical Approach Section */
.technical {
    padding: 10rem 0;
    background: linear-gradient(to bottom, #f8fafc, #eef2ff);
    position: relative;
}

.technical-diagram {
    margin-top: 4rem;
}

.diagram-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.diagram-traditional, .diagram-rota {
    width: 100%;
}

.diagram-traditional h3, .diagram-rota h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
}

.diagram-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.diagram-rota .diagram-box {
    background: linear-gradient(135deg, rgba(82, 71, 231, 0.05), rgba(255, 62, 108, 0.05));
    border: 1px solid rgba(82, 71, 231, 0.2);
}

.diagram-stage {
    text-align: center;
    width: 120px;
}

.stage-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.diagram-rota .stage-label {
    color: var(--secondary);
}

.stage-content {
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.9rem;
}

.diagram-rota .stage-content {
    background: rgba(255, 255, 255, 0.9);
}

.diagram-arrow {
    font-size: 1.5rem;
    color: #ccc;
}

.diagram-arrow.circular {
    color: var(--primary);
    font-size: 1.8rem;
}

.technical-metrics {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.metric-card {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.5;
}

/* Timeline CTA */
.timeline-cta {
    text-align: center;
    margin-top: 4rem;
}

.timeline-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--tertiary);
    color: var(--dark);
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.timeline-button:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary), #3930a2);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 62, 108, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 170, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-content {
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group input::placeholder,
.form-group select::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-group option {
    background: var(--dark);
    color: white;
}

.newsletter-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Space Grotesk', sans-serif;
}

.newsletter-button:hover {
    background: var(--tertiary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-note {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.form-note svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-cta-group {
        justify-content: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .technical-metrics {
        flex-direction: column;
    }
    
    .newsletter-wrapper {
        padding: 2rem;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
}