/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 70px; /* Space for fixed navbar */
}

/* Custom container to avoid Bootstrap conflicts */
.ezauto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.ezauto-navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
}

.ezauto-nav-logo {
    flex-shrink: 0;
}

.ezauto-nav-menu {
    gap: 2rem;
}

.ezauto-nav-menu .nav-link {
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.ezauto-nav-menu .nav-link:hover {
    color: #2563eb !important;
}

.ezauto-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.ezauto-nav-menu .nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .ezauto-nav-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column !important;
        gap: 0 !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }
    
    .ezauto-nav-menu.show {
        display: flex !important;
    }
    
    .ezauto-nav-menu .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid #eee;
    }
    
    .ezauto-nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
    }
}

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

.logo-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #d20001;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d20001;
    transition: width 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(210, 0, 1, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(210, 0, 1, 0.03) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-title-main {
    display: block;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.hero-title-accent {
    display: block;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    color: #d20001;
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(210, 0, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #d20001;
    border: 2px solid #d20001;
}

.btn-secondary:hover {
    background: #d20001;
    color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.graphic-element {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(210, 0, 1, 0.1) 0%, rgba(161, 0, 1, 0.05) 100%);
    animation: float 6s ease-in-out infinite;
}

.graphic-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.graphic-element:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 50px;
    right: 0;
    animation-delay: 2s;
}

.graphic-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 0;
    left: 50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== INFRASTRUCTURE INTEGRATION SECTION ===== */
.integration {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.integration-diagram {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    /* margin: 0 auto 4rem; */
    margin: 0 auto 0;
    isolation: isolate; /* Create new stacking context */
}

.integration-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(210, 0, 1, 0.3);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
    will-change: transform; /* Optimize animation performance */
}

.center-logo .logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    margin-bottom: 0.25rem;
}

.center-logo .logo-image {
    height: 50px;
    width: auto;
    max-width: 120px;
    margin-bottom: 0.25rem;
    filter: brightness(0) invert(1); /* Make the logo white */
}

.center-logo .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 20px 60px rgba(210, 0, 1, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 25px 80px rgba(210, 0, 1, 0.4);
    }
}

.integration-components {
    position: relative;
    width: 100%;
    height: 100%;
}

.component-item {
    position: absolute;
    width: 160px;
    padding: 1.2rem 1rem;
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    z-index: 5;
}

.component-item:hover {
    /* transform: translateY(-8px) scale(1.05); */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(210, 0, 1, 0.4);
    z-index: 15;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

/* Component positioning with stable transforms */
.top-left {
    top: 8%;
    left: 12%;
    transform: translate(0, 0);
}

.top-left:hover {
    top: calc(8% - 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.top-right {
    top: 8%;
    right: 12%;
    transform: translate(0, 0);
}

.top-right:hover {
    top: calc(8% - 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.middle-left {
    top: 50%;
    left: 8%;
    transform: translate(0, -50%);
}

.middle-left:hover {
    left: calc(8% - 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.middle-right {
    top: 50%;
    right: 8%;
    transform: translate(0, -50%);
}

.middle-right:hover {
    right: calc(8% - 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.bottom-left {
    bottom: 8%;
    left: 12%;
    transform: translate(0, 0);
}

.bottom-left:hover {
    bottom: calc(8% + 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.bottom-right {
    bottom: 8%;
    right: 12%;
    transform: translate(0, 0);
}

.bottom-right:hover {
    bottom: calc(8% + 8px);
    box-shadow: 0 15px 40px rgba(210, 0, 1, 0.3);
    border-color: rgba(210, 0, 1, 0.6);
}

.component-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.component-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.component-item:hover .component-icon {
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(210, 0, 1, 0.3);
}

.component-icon.server {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.component-icon.application {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.component-icon.monitoring {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.component-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.component-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
    white-space: nowrap;
    margin-bottom: 0;
}

.bottom-right {
    bottom: 10%;
    right: 15%;
}

/* Connection Lines - From center to each component center */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.line {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, rgba(210, 0, 1, 0.6), rgba(210, 0, 1, 0.3));
    /* animation: lineGlow 3s ease-in-out infinite; */
    border-radius: 1px;
    transform-origin: 0 50%;
}

/* Line from center (50%, 50%) to top-left component center (12% + 80px, 8% + 60px) */
.line-1 {
    top: 50%;
    left: 50%;
    width: 190px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(-125deg);
    animation-delay: 0s;
}

/* Line from center to top-right component center (88% - 80px, 8% + 60px) */
.line-2 {
    top: 50%;
    left: 50%;
    width: 190px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(-55deg);
    animation-delay: 0.5s;
}

/* Line from center to middle-left component center (8% + 80px, 50%) */
.line-3 {
    top: 50%;
    left: 50%;
    width: 160px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(180deg);
    animation-delay: 1s;
}

/* Line from center to middle-right component center (92% - 80px, 50%) */
.line-4 {
    top: 50%;
    left: 50%;
    width: 160px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(0deg);
    animation-delay: 1.5s;
}

/* Line from center to bottom-left component center (12% + 80px, 92% - 60px) */
.line-5 {
    top: 50%;
    left: 50%;
    width: 190px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(125deg);
    animation-delay: 2s;
}

/* Line from center to bottom-right component center (88% - 80px, 92% - 60px) */
.line-6 {
    top: 50%;
    left: 50%;
    width: 190px;
    height: 2px;
    transform: translate(-50%, -1px) rotate(55deg);
    animation-delay: 2.5s;
}

@keyframes lineGlow {
    0%, 100% { 
        opacity: 0.4;
        box-shadow: 0 0 5px rgba(210, 0, 1, 0.3);
        transform: translate(-50%, -50%) rotate(var(--rotation)) scaleX(0.8);
    }
    50% { 
        opacity: 0.9;
        box-shadow: 0 0 20px rgba(210, 0, 1, 0.6);
        transform: translate(-50%, -50%) rotate(var(--rotation)) scaleX(1);
    }
}

/* Add CSS custom properties for each line rotation */
.line-1 { --rotation: -140deg; }
.line-2 { --rotation: -40deg; }
.line-3 { --rotation: 180deg; }
.line-4 { --rotation: 0deg; }
.line-5 { --rotation: 140deg; }
.line-6 { --rotation: 40deg; }

/* Integration Benefits */
.integration-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 1rem 0;
    background: #ffffff;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    color: #333;
    /* margin-bottom: 4rem; */
    font-family: 'Noto Sans KR', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 0, 1, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== TECHNOLOGY SECTION ===== */
.technology {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.tech-text h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 3rem;
    line-height: 1.2;
    font-family: 'Noto Sans KR', sans-serif;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #d20001;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 300px;
}

.stack-item {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
}

.stack-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: #d20001;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #d20001 0%, #a10001 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-outline:hover {
    background: white;
    color: #d20001;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 2rem;
}

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

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
}

.footer-brand .logo-text {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand .logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    margin-bottom: 1rem;
    display: block;
    filter: brightness(0) invert(1); /* Make the logo white */
}

.footer-brand p {
    color: #999;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
}

.footer-column ul {
    list-style: none;
    padding-left: 0rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #d20001;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #666;
}

/* Footer Contact Styles */
.footer-contact address {
    font-style: normal;
}

.footer-contact ul {
    list-style: none;
    padding-left: 0;
}

.footer-contact ul li {
    margin-bottom: 1rem;
}

.footer-contact ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact ul li a:hover {
    color: #d20001;
}

.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.footer-contact .contact-label {
    font-size: 0.95em;
    color: #999;
}

.footer-contact .contact-icon {
    font-size: 1.1em;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.footer-contact .contact-detail {
    color: #ccc;
    font-weight: 500;
    font-size: 0.9em;
    word-break: break-all;
    line-height: 1.4;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
    .hero {
        padding: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-visual {
        height: 220px;
    }
    
    .hero-graphic {
        width: 180px;
        height: 180px;
    }
    
    .graphic-element:nth-child(1) {
        width: 110px;
        height: 110px;
    }
    
    .graphic-element:nth-child(2) {
        width: 80px;
        height: 80px;
        top: 25px;
    }
    
    .graphic-element:nth-child(3) {
        width: 55px;
        height: 55px;
        left: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Integration Section Mobile - Hide center logo */
    .integration {
        padding: 2.5rem 0;
    }
    
    .integration-center {
        display: none;
    }
    
    .integration-components {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }
    
    .component-item {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        white-space: normal;
        padding: 0.8rem 0.6rem;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .component-item h4 {
        white-space: normal;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        font-weight: 600;
        color: #333;
    }
    
    .component-item p {
        white-space: normal;
        font-size: 0.75rem;
        line-height: 1.3;
        color: #666;
        margin: 0;
    }
    
    .component-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.6rem;
        border-radius: 8px;
    }
    
    .component-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .component-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    
    .connection-lines {
        display: none;
    }
}

/* ===== COMMON RESPONSIVE UTILITIES ===== */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    body {
        padding-top: 70px;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-contact .contact-icon {
        align-self: flex-start;
        margin-top: 1px;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact ul li a {
        align-items: flex-start;
    }
    
    .footer-contact .contact-icon {
        margin-top: 0;
        line-height: 1.2;
        height: 1.2em;
        display: flex;
        align-items: center;
    }
    
    .footer-contact .contact-info {
        gap: 0.1rem;
    }
    
    .footer-contact .contact-detail {
        font-size: 0.85em;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .tech-text h2 {
        font-size: 2rem;
    }
}

/* ===== iPad Air & similar tablets ===== */
@media (max-width: 820px) and (min-width: 769px) {
    .footer-contact .contact-icon {
        margin-top: -1px;
        line-height: 1;
    }
}

/* ===== EXTRA SMALL MOBILE (480px and below) ===== */

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
        min-height: calc(100vh - 70px);
    }
    
    .hero-content {
        padding: 0 15px;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-visual {
        height: 200px;
        margin-top: 0.5rem;
    }
    
    .footer-contact .contact-icon {
        font-size: 1em;
        min-width: 18px;
        margin-top: 0;
        line-height: 1;
        height: 1.1em;
        display: flex;
        align-items: center;
    }
    
    .footer-contact .contact-label {
        font-size: 0.9em;
        line-height: 1.2;
    }
    
    .footer-contact .contact-detail {
        font-size: 0.8em;
        line-height: 1.2;
    }
    
    .hero-graphic {
        width: 150px;
        height: 150px;
    }
    
    .graphic-element:nth-child(1) {
        width: 100px;
        height: 100px;
    }
    
    .graphic-element:nth-child(2) {
        width: 75px;
        height: 75px;
        top: 25px;
    }
    
    .graphic-element:nth-child(3) {
        width: 50px;
        height: 50px;
        left: 25px;
    }
    
    /* Integration Section Small Mobile */
    .integration {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
        line-height: 1.4;
    }
    
    /* Keep center logo hidden on small mobile */
    .integration-center {
        display: none;
    }
    
    .integration-components {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0 10px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .component-item {
        padding: 0.8rem 0.5rem;
        text-align: center;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.04);
    }
    
    .component-item h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        font-weight: 600;
        color: #333;
    }
    
    .component-item p {
        font-size: 0.65rem;
        line-height: 1.2;
        color: #666;
        margin: 0;
    }
    
    .component-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 0.6rem;
        border-radius: 6px;
    }
    
    .component-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .component-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }
    
    .integration-benefits {
        margin-top: 1.5rem;
        padding: 0 10px;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .benefit-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .benefit-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
        border-radius: 6px;
    }
    
    .benefit-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* ===== LARGE TABLET RESPONSIVE (iPad Pro) ===== */
@media (max-width: 1024px) and (min-width: 993px) {
    .hero {
        min-height: 100vh;
        padding: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 40px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.8rem, 5vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-graphic {
        width: 250px;
        height: 250px;
    }
    
    .integration {
        padding: 4rem 0;
    }
    
    .integration-center {
        width: 160px;
        height: 160px;
    }
    
    .center-logo .logo-text {
        font-size: 1.4rem;
    }
    
    .component-item {
        width: 140px;
        padding: 1.8rem 1.3rem;
    }
    
    .component-icon {
        width: 55px;
        height: 55px;
    }
    
    .component-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* ===== MEDIUM TABLET RESPONSIVE (iPad Air) ===== */
@media (max-width: 992px) and (min-width: 769px) {
    .hero {
        min-height: 100vh;
        padding: 2.5rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 0 30px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3rem);
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .hero-visual {
        height: 350px;
        margin-top: 1rem;
    }
    
    .hero-graphic {
        width: 220px;
        height: 220px;
    }
    
    .graphic-element:nth-child(1) {
        width: 140px;
        height: 140px;
    }
    
    .graphic-element:nth-child(2) {
        width: 105px;
        height: 105px;
        top: 35px;
    }
    
    .graphic-element:nth-child(3) {
        width: 70px;
        height: 70px;
        left: 35px;
    }
    
    .integration {
        padding: 3.5rem 0;
    }
    
    .integration-center {
        width: 150px;
        height: 150px;
    }
    
    .center-logo .logo-text {
        font-size: 1.3rem;
    }
    
    .center-logo .subtitle {
        font-size: 0.85rem;
    }
    
    .component-item {
        width: 130px;
        padding: 1.6rem 1.2rem;
    }
    
    .component-item h4 {
        font-size: 1rem;
    }
    
    .component-item p {
        font-size: 0.8rem;
    }
    
    .component-icon {
        width: 50px;
        height: 50px;
    }
    
    .component-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* ===== SMALL TABLET RESPONSIVE ===== */
@media (max-width: 768px) and (min-width: 641px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 25px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 2.6rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.8rem;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-visual {
        height: 280px;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
    }
    
    .graphic-element:nth-child(1) {
        width: 120px;
        height: 120px;
    }
    
    .graphic-element:nth-child(2) {
        width: 90px;
        height: 90px;
        top: 30px;
    }
    
    .graphic-element:nth-child(3) {
        width: 60px;
        height: 60px;
        left: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Integration Section Tablet */
    .integration {
        padding: 3rem 0;
    }
    
    .integration-center {
        width: 140px;
        height: 140px;
    }
    
    .center-logo .logo-text {
        font-size: 1.2rem;
    }
    
    .center-logo .subtitle {
        font-size: 0.8rem;
    }
    
    .component-item {
        width: 120px;
        padding: 1.4rem 1rem;
    }
    
    .component-item h4 {
        font-size: 0.95rem;
    }
    
    .component-item p {
        font-size: 0.75rem;
    }
    
    .component-icon {
        width: 45px;
        height: 45px;
    }
    
    .component-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ===== EXTRA SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
    .integration-components {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        max-width: 300px;
    }
    
    .component-item {
        padding: 0.7rem 0.4rem;
    }
    
    .component-item h4 {
        font-size: 0.75rem;
    }
    
    .component-item p {
        font-size: 0.6rem;
    }
    
    .component-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 0.5rem;
    }
    
    .component-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 5px;
    }
    
    .benefit-item {
        padding: 0.8rem;
    }
    
    .benefit-item h4 {
        font-size: 0.85rem;
    }
    
    .benefit-item p {
        font-size: 0.75rem;
    }
}

/* ===== iPhone XR & similar devices ===== */
@media (max-width: 414px) {
    .footer-contact ul li a {
        align-items: flex-start;
    }
    
    .footer-contact .contact-icon {
        margin-top: 1px;
        align-self: flex-start;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}