* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a0e27;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --accent-secondary: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --border: #334155;
    --hero-glow: rgba(59, 130, 246, 0.15);
    --btn-primary-text: #ffffff;
    --btn-hover-bg: #2563eb;
}

body {
    font-family: "Inter";
    background: var(--primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.light {
    --primary: #f8fafc;
    --secondary: #ffffff;
    --accent: #2563eb;
    --accent-secondary: #7c3aed;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border: #e2e8f0;
    background: var(--primary);
    color: var(--text-primary);
    --hero-glow: rgba(37, 99, 235, 0.18);
    --btn-primary-text: #0f172a;
    --btn-hover-bg: #1d4ed8;
}

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 2000;
}

.fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--secondary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fab:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

#scrollTopBtn {
    opacity: 0;
    pointer-events: none;
}

#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}

.fab-theme {
    position: relative;
    overflow: hidden;
}

.fab-theme span {
    position: absolute;
    transition: all 0.3s ease;
}

.icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.light .icon-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.light .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 35px;
    margin-right: 15px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition:
        width 0.3s ease,
        left 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 10px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top,
        var(--hero-glow),
        transparent 60%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 44px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero .btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 1px solid var(--accent);
}

.hero .btn-primary {
    background: transparent;
    color: var(--btn-primary-text);
    animation: bounce 1.5s infinite;
}

.hero .btn-primary:hover {
    background: var(--btn-hover-bg);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

/* Secondary */
.hero .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.hero .btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Why Digora */
.why-section {
    padding: 100px 0;
    background: var(--secondary);
}

.why-section .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-section .section-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.why-section .why-content h2 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 24px;
}

.why-section .why-content p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 40px;
}

.why-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-section .stat-card {
    background: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.why-section .stat-value {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.why-section .stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.why-section .features-list {
    list-style: none;
}

.why-section .features-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-section .features-list li:last-child {
    border-bottom: none;
}

.why-section .check-icon {
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

/* Value Proposition */
.value-section {
    padding: 100px 0;
}

.value-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.value-section .section-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.value-section .section-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 20px;
}

.value-section .section-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
}

.value-section .value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    position: relative;
    background: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.8s ease,
        border-color 0.8s ease;
}

.value-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.value-card:hover {
    border-color: var(--accent);
}

.value-card:hover::after {
    opacity: 1;
}

.value-section .value-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.value-section .value-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.value-section .value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.value-section .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 20px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.25s ease;
}

.value-section .service-link:hover {
    color: #1e40af;
    transform: translateX(4px);
}

/* Product Section */
.product-section {
    padding: 100px 0;
    background: var(--secondary);
}

.product-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.product-section .section-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.product-section .section-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-section .section-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-secondary);
}

.product-section .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.product-section .product-card {
    position: relative;
    background: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.8s ease,
        border-color 0.8s ease;
}

.product-section .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.product-section .product-card:hover {
    border-color: var(--accent);
}

.product-section .product-card:hover::after {
    opacity: 1;
}

.product-section .product-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-section .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-section .product-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-section .product-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.product-section .product-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.25s ease;
}

.product-section .product-link:hover {
    transform: translateX(4px);
    color: #1e40af;
}

.product-section .see-all-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.25s ease;
}

.product-section .see-all-link span {
    transition: transform 0.25s ease;
}

.product-section .see-all-link:hover {
    color: #1e40af;
}

.product-section .see-all-link:hover span {
    transform: translateX(4px);
}

/* Mail CTA Section */
.mail-cta-section {
    padding: 50px 0;
}

.mail-cta-section .mail-cta-box {
    position: relative;
    padding: 50px;
    overflow: hidden;
}

.mail-cta-section .mail-cta-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.mail-cta-section .mail-cta-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 16px;
}

.mail-cta-section .mail-cta-content h2 {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 20px;
}

.mail-cta-section .mail-cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
}

.mail-cta-section .mail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mail-cta-section .mail-cta-btn span {
    transition: transform 0.3s ease;
}

.mail-cta-section .mail-cta-btn:hover {
    background: #2563eb;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}

.mail-cta-section .mail-cta-btn:hover span {
    transform: translateX(6px);
}

/* Footer */
footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    /* WHY SECTION */
    .why-section {
        padding: 80px 0;
    }

    .why-section .why-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-section .why-content h2 {
        font-size: 32px;
    }

    .why-section .stats-grid {
        gap: 16px;
    }

    /* VALUE SECTION */
    .value-section {
        padding: 80px 0;
    }

    .value-section .section-header {
        margin-bottom: 32px;
    }

    .value-section .section-title {
        font-size: 40px;
    }

    .value-section .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .value-card {
        padding: 32px;
    }

    .value-section .value-card h3 {
        font-size: 22px;
    }

    /* PRODUCT SECTION */
    .product-section {
        padding: 80px 0;
    }

    .product-section .section-title {
        font-size: 40px;
    }

    .product-section .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-section .product-image {
        height: 180px;
    }

    /* MAIL CTA */
    .mail-cta-section {
        padding: 60px 0;
    }

    .mail-cta-section .mail-cta-box {
        padding: 40px;
    }

    .mail-cta-section .mail-cta-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 24px;
    }

    .mail-cta-section .mail-cta-content h2 {
        font-size: 36px;
    }

    .mail-cta-section .mail-cta-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .mail-cta-section .mail-cta-btn {
        padding: 14px 22px;
        font-size: 14px;
        border-radius: 12px;
    }

    /* FOOTER */
    footer {
        padding: 50px 0 28px;
    }

    .footer-brand p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* NAVBAR */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px);
        padding: 20px;
        gap: 20px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 18px;
    }

    /* WHY SECTION */
    .why-section {
        padding: 60px 0;
    }

    .why-section .section-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .why-section .why-content h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .why-section .why-content p {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .why-section .stats-grid {
        grid-template-columns: 1fr;
    }

    .why-section .stat-card {
        padding: 18px;
    }

    .why-section .stat-value {
        font-size: 26px;
    }

    .why-section .features-list li {
        padding: 16px 0;
        gap: 12px;
    }

    .why-section .check-icon {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }

    /* VALUE SECTION */
    .value-section {
        padding: 60px 0;
    }

    .value-section .section-header {
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .value-section .section-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .value-section .section-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .value-section .section-subtitle {
        font-size: 15px;
    }

    .value-section .value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-card {
        padding: 24px;
    }

    .value-section .value-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .value-section .value-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .value-section .value-card p {
        font-size: 15px;
    }

    .value-card::after {
        display: none;
    }

    .value-card:hover {
        border-color: var(--border);
    }

    /* PRODUCT SECTION */
    .product-section {
        padding: 60px 0;
    }

    .product-section .section-header {
        padding: 0 16px;
        margin-bottom: 28px;
    }

    .product-section .section-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .product-section .section-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .product-section .section-subtitle {
        font-size: 15px;
    }

    .product-section .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-section .product-card {
        padding: 20px;
    }

    .product-section .product-image {
        height: 160px;
        margin-bottom: 16px;
    }

    .product-section .product-card h3 {
        font-size: 18px;
    }

    .product-section .product-card p {
        font-size: 14px;
    }

    .product-section .product-card::after {
        display: none;
    }

    .product-section .product-card:hover {
        border-color: var(--border);
    }

    /* MAIL CTA */
    .mail-cta-section {
        padding: 50px 0;
    }

    .mail-cta-section .mail-cta-box {
        padding: 32px 24px;
    }

    .mail-cta-section .mail-cta-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 24px;
    }

    .mail-cta-section .mail-cta-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .mail-cta-section .mail-cta-content h2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .mail-cta-section .mail-cta-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .mail-cta-section .mail-cta-btn {
        padding: 14px 22px;
        font-size: 14px;
        border-radius: 12px;
    }

    .mail-cta-section .mail-cta-btn:hover {
        box-shadow: none;
        transform: none;
    }

    /* FOOTER */
    footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-brand,
    .footer-column {
        padding: 0 16px;
        text-align: left;
    }

    .footer-brand p {
        margin: 16px 0;
        max-width: 320px;
        font-size: 14px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 13px;
    }
}
