/* Dcycle Brand - Exact Styles */
:root {
    --color-primary: #2947FE;
    --color-secondary: #3DD1EC;
    --color-gradient: linear-gradient(135deg, #2947FE 0%, #3DD1EC 100%);
    --color-dark: #1a1a2e;
    --color-text: #4a4a68;
    --color-text-light: #6b7280;
    --color-light: #f8f9fc;
    --color-lighter: #f3f4f6;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --color-red: #ef4444;
    --color-green: #10b981;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

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

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

section {
    padding: 80px 0;
}

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

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: #1e3ad8;
    border-color: #1e3ad8;
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}

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

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-white:hover {
    background: var(--color-lighter);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-left: 60px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-item:hover {
    color: var(--color-primary);
}

.chevron-icon {
    opacity: 0.5;
    transition: transform 0.2s;
}

.dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    padding: 12px 24px;
    font-size: 0.9375rem;
}

.btn-dark:hover {
    background: #2d2d4a;
    border-color: #2d2d4a;
    color: var(--color-white);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.language-selector:hover {
    background: var(--color-lighter);
}

.globe-icon {
    opacity: 0.7;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: 72px; /* Space for the fixed navbar */
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    /* Pull the image up to hide the screenshot's navbar area behind actual navbar */
    margin-top: -72px;
}

/* Problems Section */
.problems-section {
    background: var(--color-white);
    padding: 100px 0;
}

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

.problem-card,
.solution-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.problem-card {
    background: #fef7f7;
    border-color: #fecaca;
}

.solution-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.problem-card:hover,
.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.problem-content,
.solution-content {
    flex: 1;
}

.problem-icon,
.solution-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon.red {
    background: #fee2e2;
}

.solution-icon.green {
    background: #d1fae5;
}

.problem-icon img,
.solution-icon img {
    width: 20px;
    height: 20px;
}

.problem-content h3,
.solution-content h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.problem-content p,
.solution-content p {
    color: var(--color-text);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.problem-image,
.solution-image {
    flex: 1;
    max-width: 200px;
}

.problem-image img,
.solution-image img {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Features Section */
.features-section {
    background: var(--color-light);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 56px;
    height: 56px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--color-text);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Results Section */
.results-section {
    background: var(--color-white);
    padding: 100px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-light);
    border-radius: var(--radius-lg);
}

.result-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.result-label {
    font-size: 0.9375rem;
    color: var(--color-text);
    font-weight: 500;
}

/* Case Studies Section */
.case-studies-section {
    background: var(--color-light);
    padding: 100px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-study-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-study-card.dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.case-study-card.dark h3,
.case-study-card.dark p {
    color: var(--color-white);
}

.case-study-card.dark .case-study-link {
    color: var(--color-secondary);
}

.case-study-logo {
    height: 40px;
    margin-bottom: 20px;
}

.case-study-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.case-study-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.case-study-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.case-study-card.dark .stat {
    color: rgba(255, 255, 255, 0.7);
}

.case-study-stats .stat img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.case-study-quote {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.case-study-link {
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Trust Security Section */
.trust-security-section {
    background: var(--color-white);
    padding: 100px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 24px 16px;
}

.trust-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon-wrapper img {
    width: 48px;
    height: 48px;
}

.trust-item h4 {
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.trust-item p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Resources Section */
.resources-section {
    background: var(--color-light);
    padding: 100px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resource-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: block;
    color: inherit;
    text-decoration: none;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.resource-image {
    height: 180px;
    overflow: hidden;
    background: var(--color-lighter);
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-content {
    padding: 24px;
}

.resource-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: rgba(41, 71, 254, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.resource-content h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
    color: var(--color-dark);
}

.resource-content p {
    color: var(--color-text);
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--color-gradient);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin: 16px 0;
    font-size: 0.9375rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--color-primary);
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions .btn-dark,
    .language-selector {
        display: none;
    }

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

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-orbital {
        display: none;
    }

    .hero-content {
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .company-card {
        width: 140px;
        height: 90px;
    }

    .problems-grid,
    .case-studies-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .problem-card,
    .solution-card {
        flex-direction: column;
    }

    .problem-image,
    .solution-image {
        max-width: 100%;
    }

    .features-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .company-card {
        width: 120px;
        height: 80px;
    }

    .features-grid,
    .results-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
