:root {
    --primary-midnight: #061121;
    --primary-sea: #0ea5e9;
    --accent-purple: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --gradient-ocean: linear-gradient(135deg, #061121 0%, #0c4a6e 100%);
    --gradient-premium: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-midnight);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.bg-light { background-color: var(--bg-light); padding: 5rem 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--primary-midnight);
}

.btn-primary:hover {
    background-color: #e5cd6e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid transparent;
    background-image: var(--gradient-premium);
    background-origin: border-box;
    background-clip: border-box;
    position: relative;
    color: #fff;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--primary-midnight);
    border-radius: 28px;
    z-index: -1;
    transition: background 0.3s;
}

.btn-outline:hover::before {
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-gradient);
    color: var(--primary-midnight);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.9); }
    100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background: linear-gradient(90deg, rgba(6, 17, 33, 0.95) 0%, rgba(14, 165, 233, 0.1) 50%, rgba(139, 92, 246, 0.15) 100%);
    padding: 0.8rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.text-ocean-gradient {
    background: linear-gradient(to right, #0ea5e9, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient-ocean);
    opacity: 0.75;
    z-index: -1;
}

/* Subtle ripple effect */
.hero-ripple {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    z-index: 0;
    animation: ripple-fade 6s infinite;
}

@keyframes ripple-fade {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 4rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.kpi-counters {
    display: flex;
    gap: 3rem;
}

.kpi h3 {
    font-size: 2.5rem;
    color: var(--accent-violet);
    margin-bottom: 0.2rem;
    display: inline-block;
}

.kpi p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
}

.wave-divider path {
    fill: var(--bg-light);
}

/* Split Section */
.split-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.split-panel {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.split-panel:hover {
    transform: translateY(-5px);
}

.panel-title {
    text-align: center;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;
    font-weight: 800;
}

.hurdle-list li, .triumph-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hurdle-list i {
    color: #e74c3c;
    font-size: 2rem;
}

.triumph-list i {
    color: var(--primary-turquoise);
    font-size: 2rem;
}

/* Capabilities */
.capabilities {
    padding: 6rem 0;
    background: #fff;
}

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

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

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

.cap-card {
    background: #fff;
    border: 1px solid #f1f4f6;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.cap-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}

.card-top {
    padding: 3.5rem 2rem 1rem;
    flex-grow: 1;
}

.card-icon {
    font-size: 2.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    margin-bottom: 2rem;
}

.card-top h3 {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-midnight);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.card-bottom {
    padding: 0.5rem 2rem 3.5rem;
    background: transparent;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.card-bottom p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Keep cleanly transparent on hover */
.cap-card:hover .card-bottom {
    background: transparent;
}

/* Operations Flow */
.operations-flow {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.operations-flow h2 {
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5rem;
    font-size: 3rem;
    font-weight: 800;
}

.flow-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(6, 17, 33, 0.9) 0%, rgba(14, 165, 233, 0.75) 100%);
    mix-blend-mode: multiply;
}

.timeline-graphic {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.timeline-step {
    text-align: center;
    color: var(--text-light);
    flex: 1;
    position: relative;
    min-width: 200px;
}

.timeline-step .step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-premium);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-step h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.timeline-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

.hover-note {
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    color: var(--primary-sea);
    background: rgba(14, 165, 233, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.timeline-step:hover .hover-note {
    opacity: 1;
}

.timeline-line {
    height: 3px;
    background: var(--gradient-premium);
    flex: 1;
    opacity: 0.4;
    margin-top: -55px;
    min-width: 50px;
}

/* Roadmap */
.roadmap {
    padding: 6rem 0;
    background: #fff;
}

.progress-container {
    position: relative;
    height: 60px;
    margin: 4rem auto 2rem;
    max-width: 800px;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: var(--primary-turquoise);
    width: 0%; /* initial for js animation */
    transform: translateY(-50%);
    transition: width 1.5s ease-out;
}

/* Using a background line for unfilled progress */
.progress-container::before {
    content:'';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #eee;
    transform: translateY(-50%);
    z-index: -1;
}

.progress-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.3s ease;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #eee;
    border-radius: 50%;
    margin: 0 auto;
    transition: border-color 0.4s;
}

.progress-marker.active .marker-dot {
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.marker-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    text-align: center;
}

.marker-label strong {
    display: block;
    color: var(--primary-midnight);
}

.marker-label span {
    font-size: 0.8rem;
    color: #666;
}

/* Credibility Boost */
.credibility {
    border-top: 1px solid #eaeaea;
}

.box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.testimonial-box, .mini-case {
    background: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent-violet);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author strong {
    color: var(--primary-midnight);
}

.mini-case h4 {
    color: var(--primary-turquoise);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-case p {
    margin-bottom: 0.8rem;
}

.mini-case .highlight {
    background: rgba(0, 168, 232, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 4rem;
    opacity: 0.6;
}

.partner-logos .logo-item {
    font-size: 3rem;
    color: #999;
    transition: color 0.3s;
}

.partner-logos .logo-item:hover {
    color: var(--primary-midnight);
}

/* Footer / Action Zone */
.footer {
    background: linear-gradient(to bottom, #061121, #0c4a6e);
    color: rgba(255,255,255,0.7);
    padding-top: 5rem;
    position: relative;
    border-top: 1px solid rgba(14, 165, 233, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer h3, .footer h4 {
    color: var(--accent-violet);
}

.footer-info p {
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
}

.email-capture {
    display: flex;
}

.email-capture input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 250px;
    outline: none;
}

.email-capture button {
    background: var(--accent-gradient);
    border: none;
    color: var(--primary-midnight);
    padding: 0 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.email-capture button:hover {
    background: #fff;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

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

.contact-form input, .contact-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 4px;
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form select option {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(6, 17, 33, 0.95) 0%, rgba(139, 92, 246, 0.2) 100%);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: var(--primary-midnight);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-midnight);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .split-grid, .box-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .timeline-graphic { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .timeline-line { width: 2px; height: 40px; margin: 0; align-self: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-content { margin-top: 8rem; }
    .kpi-counters { flex-direction: column; gap: 1.5rem; }
    .nav-links { display: none; }
    .email-capture input { width: 100%; }
    .logo { font-size: 1.4rem; gap: 0.5rem; }
    .logo i { font-size: 1.8rem !important; }
}


.violet-gradient {
    background: var(--accent-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}
