/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

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

.nav-menu a i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #ffffff;
    color: #1a1a1a;
    padding: 120px 80px 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}



.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 50px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}


.btn {
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 60px;
    background: #fefefe;
}

.luxury-composition {
    position: relative;
    width: 100%;
    height: 70%;
    overflow: hidden;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    top: 20px;
    left: 30px;
    animation: float-gentle 6s ease-in-out infinite;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #E8DCC4 0%, #D4A574 100%);
    top: 80px;
    right: 100px;
    animation: float-gentle 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #78C5C0 0%, #5db3ae 100%);
    bottom: 120px;
    left: 120px;
    animation: float-gentle 7s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%);
    bottom: 40px;
    right: 50px;
    animation: float-gentle 9s ease-in-out infinite reverse;
}

.shape-5 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    top: 150px;
    left: 200px;
    animation: float-gentle 5s ease-in-out infinite;
}




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

.domain-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 15px;
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.flow-step i {
    font-size: 2rem;
}

.flow-step span {
    font-weight: 600;
}

.flow-arrow {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Sections */
.section {
    padding: 60px 0;
    position: relative;
}

#anatomy {
    padding: 100px 0;
}

.bg-light {
    background: #f9fafb;
    position: relative;
}


.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #1e293b;
    padding-top: 40px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Grid */
/* Feature Rows - Alternating Layout */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 20px;
    position: relative;
    padding: 10px 0;
}

.feature-row:last-child {
    margin-bottom: 40px;
}

.feature-row-reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 480px;
}

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.feature-description {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
}

.feature-illustration {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-illustration svg {
    width: 100%;
    height: auto;
    max-width: 420px;
}

/* Domain Anatomy */
.domain-anatomy {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.domain-anatomy h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e293b;
}

/* Anatomy Cards Grid */
.anatomy-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.anatomy-card {
    background: #f8f9fa;
    border-radius: 30px;
    padding: 50px 40px;
    transition: transform 0.3s ease;
    border: none;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.anatomy-card:hover {
    transform: translateY(-5px);
}

.anatomy-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.anatomy-card-number {
    font-size: 1rem;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 20px;
    display: block;
}

.anatomy-card-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.anatomy-card-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: auto;
}

.anatomy-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.anatomy-explanation {
    max-width: 600px;
    margin: 0 auto;
}

.anatomy-explanation ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.anatomy-explanation li {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #4b5563;
}

.registration-note {
    margin-top: 30px;
    padding: 20px;
    background: #fef3c7;
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    color: #78350f;
    line-height: 1.7;
    font-size: 1rem;
}

.domain-parts {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
}

.domain-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    min-width: 180px;
}

.subdomain {
    background: #dbeafe;
    color: #1e40af;
}

.domain-name {
    background: #dcfce7;
    color: #166534;
}

.tld {
    background: #fef3c7;
    color: #92400e;
}

.domain-part span {
    font-weight: 600;
    font-size: 1.1rem;
}

.domain-part label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
    font-weight: 600;
}

.part-description {
    font-size: 0.8rem;
    margin-top: 8px;
    opacity: 0.7;
    line-height: 1.4;
    text-align: center;
    max-width: 150px;
}

.domain-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: #64748b;
}

/* DNS Section */
/* DNS Introduction Section */
.dns-intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.dns-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 600;
}

.dns-intro-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* DNS Flow Section - Horizontal */
.dns-flow-section {
    margin: 60px 0;
    padding: 60px 0;
}

.dns-flow-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* DNS Process Section */
.dns-process-section {
    margin: 60px auto 0;
}

.dns-process-section h4 {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #1e293b;
    text-align: center;
}

.dns-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.dns-arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.5rem;
}

.dns-step-column {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dns-step-column:hover {
    transform: scale(1.05);
}

.dns-step-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.dns-illustration {
    width: 140px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dns-illustration svg {
    width: 100%;
    height: 100%;
}

.dns-step-header h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.01em;
}

.dns-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dns-steps li {
    margin-bottom: 16px;
    padding: 0;
    position: relative;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.dns-steps li:last-child {
    margin-bottom: 0;
}

.dns-steps li::before {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f3f4f6;
    color: #1f2937;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
}

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

/* Old dns-flow - keep for backwards compatibility but override with dns-flow-horizontal */

.dns-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.dns-step i {
    font-size: 2rem;
    color: #2563eb;
}

.dns-step span {
    font-weight: 600;
    color: #1e293b;
}

.dns-arrow {
    font-size: 1.5rem;
    color: #64748b;
}

/* Records Categories */
.records-category {
    margin-bottom: 60px;
}

.records-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon svg {
    width: 100%;
    height: 100%;
}

.category-description {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Records Grid */
.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.record-card {
    background: #f8f9fa;
    border-radius: 30px;
    overflow: hidden;
    border: none;
    position: relative;
}

.record-header {
    background: transparent;
    color: #1f2937;
    padding: 25px 25px 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}


.record-header i {
    font-size: 1.5rem;
}

.record-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.record-content {
    padding: 15px 25px 25px 25px;
}

.record-content p {
    margin-bottom: 15px;
    color: #64748b;
    line-height: 1.6;
}

.record-example {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin-top: 15px;
}

.record-example code {
    font-family: 'Courier New', monospace;
    color: #1e293b;
    font-size: 0.9rem;
}

/* Record Video Player */
.record-video {
    margin-top: 30px;
}

.record-video video {
    width: 100%;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.record-video video:hover {
    filter: grayscale(0%);
}

.video-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #cbd5e1;
}

.video-mini:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.video-mini i {
    font-size: 1.2rem;
    color: #2563eb;
    transition: color 0.3s ease;
}

.video-mini:hover i {
    color: white;
}

.video-mini span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.video-mini:hover span {
    color: white;
}




/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #f8fafc;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-top: 1px solid #e5e7eb;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        justify-content: center;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 40px 60px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 50vh;
        padding: 40px 20px;
    }
    
    .luxury-composition {
        height: 50%;
    }
    
    .feature-row,
    .feature-row-reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
        padding: 40px 30px;
    }
    
    .feature-content,
    .feature-illustration {
        max-width: 100%;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .feature-illustration svg {
        max-width: 300px;
    }
    
    .abstract-shape {
        width: 80px !important;
        height: 80px !important;
    }
    
    .shape-1 {
        width: 100px !important;
        height: 100px !important;
    }
    
    .shape-4 {
        width: 90px !important;
        height: 90px !important;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    
    
    .domain-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .dns-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dns-arrow-connector {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .dns-step-column {
        padding: 25px;
    }
    
    .dns-flow-horizontal {
        gap: 20px;
    }
    
    .dns-arrow {
        display: none;
    }
    
    .dns-step span {
        font-size: 0.9rem;
    }
    
    .domain-parts {
        flex-direction: column;
        gap: 15px;
    }
    
    .domain-separator {
        transform: rotate(90deg);
    }
    
    .lookup-input {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .content-grid,
    .records-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .anatomy-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .anatomy-card {
        padding: 35px 30px;
        min-height: 280px;
    }
    
    .anatomy-card-number {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .anatomy-card-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .anatomy-card-description {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.content-card,
.record-card,
.example-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
