/* ========================================
   CSS Variables & Reset
======================================== */
:root {
    --primary-blue: #0139CC;
    --primary-blue-light: #1890FF;
    --bg-light: #F5F5F5;
    --bg-card: #F8F8F8;
    --text-dark: #000000;
    --text-gray: #666666;
    --white: #FFFFFF;
    --border-radius: 25px;
    --border-radius-card: 14px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 2560px) {

    .header-container,
    .container,
    .footer .container {
        max-width: 1600px;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.tagline {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-buttons {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-buttons.active {
        right: 0;
    }

    .nav-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 57, 204, 0.2);
}

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

.btn-primary:hover {
    background: #0028a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 57, 204, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
    padding-top: 0;
    background: var(--bg-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video container - responsive sizing, starts below header */
.hero-video-container {
    position: relative;
    width: 90%;
    max-width: 1600px;
    height: auto;
    aspect-ratio: 16 / 9;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Buttons container - fixed below video with same width */
.hero-buttons-container {
    position: relative;
    width: 90%;
    max-width: 1600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    z-index: 2;
}

/* Ensure buttons are visible on dark background */
.hero-buttons-container .btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-buttons-container .btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

.hero-buttons-container .btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.hero-buttons-container .btn-primary:hover {
    background: #0028a3;
    border-color: #0028a3;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Content overlay - top layer (for other content if needed) */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px;
    padding-bottom: 40px;
    pointer-events: none;
}

.hero-content>* {
    pointer-events: auto;
}

/* Hero Side Info */
.hero-info-left,
.hero-info-right {
    position: absolute;
    bottom: 80px;
    z-index: 3;
}

.hero-info-left {
    left: 60px;
    text-align: left;
}

.hero-info-right {
    right: 60px;
    text-align: right;
}

.info-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.info-text {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

/* ========================================
   Revolution Section
======================================== */
.revolution-section {
    padding: 60px 0;
    background: #D9D9D9;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.revolution-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
}

.revolution-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.revolution-text-left {
    width: 100%;
    max-width: 676px;
    margin: 0 auto;
    text-align: left;
}

.revolution-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: #0139CC;
    margin: 0;
}

.revolution-center {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    perspective: 2000px;
    display: flex;
    align-items: center;
}

.device-3d-wrapper {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 2000px;
}

.device-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease-out;
    animation: subtleRotate 15s infinite ease-in-out;
}

.device-3d-wrapper:hover .device-3d {
    animation-play-state: paused;
}

@keyframes subtleRotate {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg);
    }

    25% {
        transform: rotateY(-10deg) rotateX(8deg);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg);
    }

    75% {
        transform: rotateY(-20deg) rotateX(2deg);
    }
}

.device-screen {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: visible;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.revolution-text-bottom {
    width: 100%;
    max-width: 743px;
    margin: 0 auto;
    text-align: left;
}

.revolution-description {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.42;
    letter-spacing: -0.005em;
    color: #0139CC;
    margin: 0;
}


/* ========================================
   Images Section - Fully Responsive
======================================== */
.images-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.images-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 4vw, 60px);
}

.image-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 12px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.image-item-1,
.image-item-2,
.image-item-3 {
    width: 100%;
    max-width: 100%;
}

.section-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* ========================================
   RWA Section
======================================== */
.rwa-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.rwa-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.rwa-main-title {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(28px, 3.5vw, 40px);
    /* Slightly smaller font */
    line-height: 1.2;
    /* Better line height */
    letter-spacing: -0.005em;
    color: rgba(36, 78, 189, 0.83);
    text-align: center;
    margin: 0 0 30px 0;
    /* Reduced margin */
}

.rwa-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Reduced gap */
    max-width: 820px;
    margin: 0 auto;
}

.rwa-logo {
    width: 100%;
    max-width: 820px;
    height: 30vh;
    /* Use vh to scale with viewport */
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kinc-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rwa-belief-text {
    width: 100%;
    max-width: 800px;
    font-family: 'Roboto', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.29;
    text-align: center;
    color: #0139CC;
    margin: 0;
}

.rwa-goals {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.rwa-goals-title {
    font-family: 'Roboto', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 36px;
    text-align: center;
    color: #000000;
    margin: 0;
}

.rwa-goals-cards {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.rwa-goal-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    gap: 10px;
    flex: 1;
    min-height: 100px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 10px;
}

.rwa-goal-card p {
    font-family: 'Roboto', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.1px;
    color: #0139CC;
    margin: 0;
    flex: 1;
}

/* ========================================
   Duty-Free Revolution Section
======================================== */
.duty-free-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.duty-free-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.duty-free-top {
    margin-bottom: 80px;
}

.duty-free-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: #0139CC;
    text-align: center;
    margin: 0 0 30px 0;
}

.duty-free-description {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.42;
    letter-spacing: -0.005em;
    color: #0139CC;
    text-align: center;
    margin: 0 0 60px 0;
}

.duty-free-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.duty-free-card {
    background: #F8F8F8;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 222px;
}

.duty-free-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.duty-free-card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.duty-free-card-title {
    font-family: 'Roboto', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.27;
    color: #000000;
    margin: 0 0 16px 0;
}

.duty-free-card-text {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.43;
    color: #000000;
    margin: 0;
}

.duty-free-middle {
    margin: 80px 0;
    text-align: center;
}

.duty-free-title-repeat {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    letter-spacing: -0.005em;
    color: #0139CC;
    margin: 0 0 20px 0;
}

.duty-free-security-text {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 60px;
    letter-spacing: -0.005em;
    color: #000000;
    margin: 0;
}

.duty-free-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.duty-free-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.step-icon {
    width: 210px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 450px;
}

.step-title {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 32px;
    text-align: center;
    color: #000000;
    margin: 0;
}

.step-text {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    margin: 0;
}

.duty-free-cta {
    text-align: center;
    margin-top: 40px;
}

.duty-free-btn {
    background: #0139CC;
    border: none;
    padding: 18px 40px;
    font-family: 'Pretendard', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 72px;
    letter-spacing: -0.005em;
    color: #FFFFFF;
    border-radius: 35.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(1, 57, 204, 0.3);
}

.duty-free-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(1, 57, 204, 0.5);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.duty-free-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ========================================
   Smart Contract Architecture Section
======================================== */
.smart-contract-section {
    padding: 60px 0;
    background: var(--white);
    position: relative;
}

.smart-contract-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.smart-contract-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 60px;
    letter-spacing: -0.005em;
    color: #0139CC;
    text-align: center;
    margin: 0;
}

.smart-contract-description {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 26px;
    color: #000000;
    text-align: center;
    margin: 0;
    max-width: 751px;
}

.smart-contract-monitor {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.monitor-screen-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.smart-contract-note {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    margin: 0;
    max-width: 400px;
}

/* ========================================
   Investor/Borrower Tabs Section
======================================== */
.tabs-section {
    padding: 0;
    background: var(--white);
    position: relative;
}

.tabs-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 40px 16px;
    gap: 12px;
    background: linear-gradient(90deg, rgba(24, 144, 255, 0.1) 0%, rgba(14, 86, 153, 0.1) 100%);
}

.tabs-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.tab-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 40px 10px;
    gap: 10px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.2;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #0139CC;
    border-bottom-color: #0139CC;
}

.tab-btn:hover {
    color: #0139CC;
}

.tabs-tagline {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.4;
    text-align: center;
    color: #0139CC;
    margin: 0;
    max-width: 739px;
}

.tab-content {
    display: none;
    padding: 0 40px 40px;
    gap: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab-content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 40px;
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    background: #FFFFFF;
    border-radius: 30px;
}

.tab-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 28px;
    width: 100%;
    max-width: 840px;
}

.tab-feature-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    flex: 1;
}

.tab-feature-title {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.3;
    color: #000000;
    margin: 0;
    width: 100%;
    max-width: 450px;
}

.tab-feature-description {
    font-family: 'Averta', 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    color: #000000;
    margin: 0;
}

.tab-feature-icon {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 10px;
    font-family: 'Averta', 'Inter', sans-serif;
    font-size: 18px;
    color: #0139CC;
    font-weight: 500;
}

/* Borrower specific styles */
.tabs-section.borrower-active .tabs-header {
    background: rgba(24, 144, 255, 0.1);
}

/* ========================================
   Connect Section
======================================== */
.connect-section {
    padding: 100px 0;
    background: var(--white);
}

.connect-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.connect-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 358px;
}

.connect-join-btn {
    width: 100%;
    height: 71px;
    background: #0139CC;
    border-radius: 35.5px;
    font-family: 'Pretendard', 'Averta', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 72px;
    letter-spacing: -0.005em;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    text-decoration: none;
}

.connect-join-btn:hover {
    background: #0028a3;
}

.connect-whitepaper-btn {
    width: 100%;
    height: 51px;
    background: transparent;
    border: 1px solid #0139CC;
    border-radius: 25.5px;
    font-family: 'Pretendard', 'Averta', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 72px;
    letter-spacing: -0.005em;
    color: #0139CC;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.connect-whitepaper-btn:hover {
    background: rgba(1, 57, 204, 0.05);
}

.connect-tagline {
    font-family: 'Averta', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    margin: 0;
    max-width: 400px;
}

.connect-social {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-icon {
    width: 47px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

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

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: #0139CC;
    color: var(--white);
    padding: 0;
    width: 100%;
}

.footer .container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 2560px) {
    .footer .container {
        max-width: 2400px;
    }
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px 0;
    gap: 40px;
    justify-content: space-between;
    position: relative;
    width: 100%;
    min-height: 140px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo-img {
    height: auto;
    width: auto;
    max-height: 50px;
}

.footer-brand p {
    margin: 0;
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1;
}

.footer-main-text {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: var(--white);
    margin: 0;
}

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.footer-company-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: var(--white);
    margin: 0;
}

.footer-company-address {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: var(--white);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: none;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .revolution-section {
        padding: 60px 0;
    }

    .revolution-container {
        padding: 0 30px;
    }

    .revolution-content {
        gap: 60px;
    }

    .revolution-center {
        max-width: 600px;
        height: 500px;
    }

    .hero-video-container {
        width: 95%;
        max-width: 1200px;
    }

    .images-container {
        padding: 0 4%;
        gap: clamp(25px, 3vw, 40px);
        max-width: 1200px;
    }

    .rwa-goals-cards {
        flex-direction: column;
    }

    .rwa-goal-card {
        width: 100%;
    }

    .rwa-logo {
        height: 280px;
    }

    .duty-free-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .duty-free-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .duty-free-card-icon {
        width: 120px;
        height: 120px;
    }

    .step-icon {
        width: 180px;
        height: 144px;
    }

    .hero-video-container {
        width: 100%;
    }

    .hero-info-left {
        left: 30px;
    }

    .hero-info-right {
        right: 30px;
    }

    .info-title {
        font-size: 24px;
    }

    .info-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .tagline {
        display: none;
    }

    .nav-buttons {
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .hero {
        height: auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-video-container {
        width: 96%;
        max-width: 100%;
        position: relative;
        margin: 0 auto;
    }

    .hero-buttons-container {
        width: 96%;
        max-width: 100%;
        padding: 16px 20px;
        border-radius: 0 0 8px 8px;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 0;
        justify-content: flex-start;
    }

    .hero-info-left,
    .hero-info-right {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .revolution-container {
        padding: 0 20px;
    }

    .revolution-content {
        gap: 40px;
    }

    .revolution-center {
        max-width: 100%;
        height: 400px;
    }

    .images-section {
        padding: 40px 0;
    }

    .images-container {
        padding: 0 3%;
        gap: clamp(20px, 3vw, 30px);
        max-width: 100%;
    }

    .image-item {
        padding: 0;
        border-radius: 8px;
    }

    .rwa-container {
        padding: 0 20px;
    }

    .rwa-content {
        gap: 30px;
    }

    .rwa-logo {
        height: 240px;
    }

    .duty-free-section {
        padding: 60px 0;
    }

    .duty-free-container {
        padding: 0 20px;
    }

    .duty-free-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .duty-free-card {
        padding: 24px 20px;
        min-height: auto;
    }

    .duty-free-card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }

    .duty-free-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-icon {
        width: 150px;
        height: 120px;
    }

    .duty-free-btn {
        padding: 14px 30px;
        font-size: 18px;
        line-height: 1.5;
    }

    .smart-contract-section {
        padding: 60px 0;
    }

    .smart-contract-container {
        padding: 0 20px;
        gap: 24px;
    }

    .smart-contract-monitor {
        max-width: 100%;
        height: auto;
        min-height: 400px;
    }

    .tabs-header {
        padding: 20px 30px 12px;
        gap: 10px;
    }

    .tab-content {
        padding: 0 30px 32px;
    }

    .tab-content-card {
        padding: 24px 30px;
        gap: 20px;
    }

    .tab-feature {
        flex-direction: column;
        gap: 24px;
        max-width: 100%;
    }

    .tab-feature-icon {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .rwa-goals-cards {
        flex-direction: column;
        gap: 15px;
    }

    .rwa-goal-card {
        width: 100%;
        min-height: auto;
    }

    .connect-buttons {
        max-width: 300px;
    }

    .connect-join-btn,
    .connect-whitepaper-btn {
        font-size: 18px;
    }

    .connect-social {
        gap: 24px;
    }

    .social-icon {
        width: 40px;
        height: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        padding: 40px 20px;
        gap: 32px;
        height: auto;
        align-items: center;
        text-align: center;
        min-height: auto;
    }

    .footer-brand {
        gap: 8px;
    }

    .footer-brand .logo-img {
        max-height: 40px;
    }

    .footer-brand p {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-center {
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-main-text {
        font-size: 14px;
        line-height: 1.3;
    }

    .footer-company {
        gap: 2px;
    }

    .footer-company-name,
    .footer-company-address {
        font-size: 12px;
        line-height: 1.4;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        width: 100%;
        text-align: center;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-column a {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 28px;
    }

    .nav-buttons .btn:not(.btn-primary) {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .hero-video-container {
        width: 98%;
        aspect-ratio: 16 / 9;
        position: relative;
        margin: 0 auto;
    }

    .hero-buttons-container {
        width: 98%;
        padding: 12px 16px;
        border-radius: 0 0 6px 6px;
    }

    .revolution-center {
        height: 300px;
    }

    .images-container {
        padding: 0 2%;
        gap: clamp(15px, 2.5vw, 25px);
    }

    .image-item {
        padding: 0;
        border-radius: 6px;
    }

    .section-image {
        border-radius: 6px;
    }

    .rwa-logo {
        height: 200px;
    }

    .rwa-goal-card p {
        font-size: 12px;
        line-height: 18px;
    }

    .duty-free-section {
        padding: 40px 0;
    }

    .duty-free-top {
        margin-bottom: 40px;
    }

    .duty-free-middle {
        margin: 40px 0;
    }

    .duty-free-card {
        padding: 20px 16px;
    }

    .tabs-header {
        padding: 16px 15px 10px;
        gap: 8px;
    }

    .tabs-navigation {
        flex-direction: row;
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .tab-btn {
        flex: 1;
        max-width: 200px;
        padding: 10px 20px;
        font-size: 18px;
    }

    .tab-content {
        padding: 0 15px 24px;
    }

    .tab-content-card {
        padding: 20px 16px;
        gap: 18px;
    }

    .tab-feature-icon {
        max-width: 200px;
        height: 150px;
    }

    .tab-feature-title {
        font-size: 24px;
    }

    .tab-feature-description {
        font-size: 14px;
    }

    .connect-section {
        padding: 40px 0;
    }

    .connect-container {
        padding: 0 15px;
        gap: 24px;
    }

    .connect-buttons {
        max-width: 280px;
    }

    .connect-join-btn {
        height: 60px;
        font-size: 16px;
    }

    .connect-whitepaper-btn {
        height: 48px;
        font-size: 16px;
    }

    .connect-tagline {
        font-size: 16px;
    }

    .connect-social {
        gap: 20px;
    }

    .social-icon {
        width: 35px;
        height: 28px;
    }

    .duty-free-card-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .step-icon {
        width: 120px;
        height: 96px;
    }

    .duty-free-btn {
        padding: 12px 24px;
        font-size: 16px;
        line-height: 1.5;
    }

    .smart-contract-section {
        padding: 40px 0;
    }

    .smart-contract-container {
        padding: 0 15px;
        gap: 20px;
    }

    .smart-contract-monitor {
        min-height: 300px;
    }

    .smart-contract-note {
        max-width: 100%;
        padding: 0 20px;
    }

    .tabs-header {
        padding: 18px 20px 12px;
        gap: 10px;
    }

    .tabs-navigation {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .tab-btn {
        flex: 1;
        max-width: 180px;
        padding: 8px 16px;
        font-size: 16px;
    }

    .tab-content {
        padding: 0 20px 28px;
    }

    .tab-content-card {
        padding: 22px 20px;
        gap: 20px;
    }

    .tab-feature {
        gap: 20px;
    }

    .tab-feature-icon {
        max-width: 250px;
        height: 180px;
    }

    .connect-section {
        padding: 60px 0;
    }

    .connect-container {
        padding: 0 20px;
        gap: 30px;
    }

    .connect-tagline {
        font-size: 18px;
    }


    .footer-content {
        padding: 20px 15px;
        gap: 20px;
    }

    .footer-brand .logo-img {
        max-height: 35px;
    }

    .footer-brand p {
        font-size: 11px;
    }

    .footer-main-text {
        font-size: 13px;
        line-height: 1.3;
    }

    .footer-company-name,
    .footer-company-address {
        font-size: 11px;
        line-height: 1.3;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-column a {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .footer-links {
        gap: 20px;
    }
}