:root {
    --navy: #0a2540;
    --dark-blue: #1a365d;
    --charcoal: #2d3748;
    --light-gray: #f7fafc;
    --white: #ffffff;
    --teal: #38b2ac;
    --soft-green: #48bb78;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-text: #ffffff;
    --dark-border: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

body.dark-mode header {
    background-color: var(--dark-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode .logo {
    color: var(--dark-text);
}

.logo i {
    color: var(--teal);
    margin-right: 8px;
    font-size: 28px;
}

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

.nav-links li {
    margin-left: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

body.dark-mode .nav-links a {
    color: var(--dark-text);
}

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

body.dark-mode .nav-links a:hover {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--teal);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy);
    background: none;
    border: none;
    padding: 5px;
    transition: color 0.3s ease;
}

body.dark-mode .mobile-toggle {
    color: var(--dark-text);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    overflow: hidden;
    transition: background 0.3s ease;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.dark-mode .hero h1 {
    color: var(--dark-text);
}

.hero p {
    font-size: 20px;
    color: var(--charcoal);
    margin-bottom: 32px;
    max-width: 540px;
    transition: color 0.3s ease;
}

body.dark-mode .hero p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: rgba(10, 37, 64, 0.05);
    transform: translateY(-2px);
}

body.dark-mode .btn-secondary {
    color: var(--dark-text);
    border-color: var(--dark-text);
}

.trust-indicators p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

body.dark-mode .trust-indicators p {
    color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
    color: var(--soft-green);
    margin-right: 8px;
}

.dashboard-preview {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.dashboard-card {
    width: 100%;
    max-width: 600px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

body.dark-mode .dashboard-card {
    background-color: var(--dark-card);
}

.dashboard-card:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.dashboard-header {
    background-color: var(--navy);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .dashboard-header {
    background-color: var(--dark-bg);
}

.dashboard-title {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.dashboard-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background-color: #f56565;
}

.dot-yellow {
    background-color: #ecc94b;
}

.dot-green {
    background-color: var(--soft-green);
}

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

.metric-card {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 16px;
    transition: var(--transition);
}

body.dark-mode .metric-card {
    background-color: rgba(255, 255, 255, 0.1);
}

.metric-card:hover {
    transform: translateY(-4px);
}

.metric-title {
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

body.dark-mode .metric-title {
    color: rgba(255, 255, 255, 0.9);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.3s ease;
}

body.dark-mode .metric-value {
    color: var(--dark-text);
}

.metric-change {
    font-size: 12px;
    color: var(--soft-green);
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.metric-change i {
    margin-right: 4px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
    transition: background-color 0.3s ease;
}

body.dark-mode section {
    background-color: transparent !important;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

body.dark-mode .section-title {
    color: var(--dark-text);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--charcoal);
    max-width: 700px;
    margin: 0 auto 60px;
    transition: color 0.3s ease;
}

body.dark-mode .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Problem & Solution */
.problem-section {
    background-color: var(--light-gray);
}

body.dark-mode .problem-section {
    background-color: var(--dark-bg);
}

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

.problem-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

body.dark-mode .problem-card {
    background-color: var(--dark-card);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

body.dark-mode .problem-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 101, 101, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #f56565;
    font-size: 24px;
}

body.dark-mode .problem-icon {
    background-color: rgba(245, 101, 101, 0.2);
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--navy);
    transition: color 0.3s ease;
}

body.dark-mode .problem-card h3 {
    color: var(--dark-text);
}

.problem-card p {
    transition: color 0.3s ease;
}

body.dark-mode .problem-card p {
    color: rgba(255, 255, 255, 0.8);
}

.solution-section {
    background-color: var(--white);
}

body.dark-mode .solution-section {
    background-color: transparent;
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.solution-text {
    flex: 1;
}

.solution-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.solution-visual img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.solution-visual-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

body.dark-mode .solution-visual-placeholder {
    background: linear-gradient(135deg, #2d2d2d 0%, var(--teal) 100%);
}

.solution-visual-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.solution-text h2 {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

body.dark-mode .solution-text h2 {
    color: var(--dark-text);
}

.solution-text p {
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

body.dark-mode .solution-text p {
    color: rgba(255, 255, 255, 0.8);
}

.solution-list {
    list-style: none;
    margin-bottom: 32px;
}

.solution-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.solution-list i {
    color: var(--soft-green);
    margin-right: 12px;
    margin-top: 4px;
}

.solution-list li strong {
    transition: color 0.3s ease;
}

body.dark-mode .solution-list li strong {
    color: var(--dark-text);
}

/* Features */
.features-section {
    background-color: var(--light-gray);
}

body.dark-mode .features-section {
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

body.dark-mode .feature-card {
    background-color: var(--dark-card);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.feature-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(56, 178, 172, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--teal);
    font-size: 28px;
}

body.dark-mode .feature-icon {
    background-color: rgba(56, 178, 172, 0.2);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--navy);
    transition: color 0.3s ease;
}

body.dark-mode .feature-card h3 {
    color: var(--dark-text);
}

.feature-card p {
    transition: color 0.3s ease;
}

body.dark-mode .feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* How It Works */
.how-it-works {
    background-color: var(--white);
}

body.dark-mode .how-it-works {
    background-color: transparent;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.step {
    text-align: center;
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--navy);
    transition: color 0.3s ease;
}

body.dark-mode .step h3 {
    color: var(--dark-text);
}

.step p {
    color: var(--charcoal);
    transition: color 0.3s ease;
}

body.dark-mode .step p {
    color: rgba(255, 255, 255, 0.8);
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 30px;
    height: 2px;
    background-color: var(--teal);
    display: block;
}

.step:last-child::after {
    display: none;
}

/* Security */
.security-section {
    background-color: var(--light-gray);
}

body.dark-mode .security-section {
    background-color: var(--dark-bg);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.security-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

body.dark-mode .security-card {
    background-color: var(--dark-card);
}

.security-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

body.dark-mode .security-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.security-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(56, 178, 172, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--teal);
    font-size: 28px;
}

body.dark-mode .security-icon {
    background-color: rgba(56, 178, 172, 0.2);
}

.security-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--navy);
    transition: color 0.3s ease;
}

body.dark-mode .security-card h3 {
    color: var(--dark-text);
}

.security-card p {
    transition: color 0.3s ease;
}

body.dark-mode .security-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

body.dark-mode .cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

.btn-light {
    background-color: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
}

body.dark-mode footer {
    background-color: var(--dark-card);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: var(--teal);
    margin-right: 8px;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--teal);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    opacity: 0.7;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--teal);
}

/* Problem Cards Animation */
.problem-card {
    opacity: 0;
    transform: translateY(20px);
}

.problem-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Dark mode toggle styles */
.dark-mode-toggle-item {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    transition: border-color 0.3s ease;
}

body.dark-mode .dark-mode-toggle-item {
    border-top: 1px solid var(--dark-border);
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.theme-switch-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

body.dark-mode .theme-switch-label {
    color: var(--dark-text);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--teal);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 60px;
    }
    
    .dashboard-preview {
        justify-content: center;
    }
    
    .dashboard-card {
        transform: none;
    }
    
    .solution-content {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 100;
        margin: 0;
        overflow-y: auto;
    }
    
    body.dark-mode .nav-links {
        background-color: var(--dark-card);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        left: 0;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-links a {
        padding: 10px 0;
        font-size: 18px;
        width: 100%;
    }
    
    /* Overlay when menu is open */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .nav-links.active::before {
        opacity: 1;
        pointer-events: all;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    /* For desktop view - hide toggle in nav, show only in mobile */
    .dark-mode-toggle-item {
        display: block;
    }
}

@media (min-width: 769px) {
    .dark-mode-toggle-item {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .solution-text h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .nav-links {
        width: 250px;
    }
    
    .nav-links::before {
        left: 250px;
    }
}