/* Base Styles */
:root {
    --primary-color: #42505c;
    --primary-dark: #2c3e50;
    --secondary-color: #c87941;
    --accent-color: #e8a87c;
    --background-color: #ffffff;
    --background-alt: #f8f9fa;
    --text-color: #333333;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --success-color: #2ecc71;
    --warning-color: #e8a87c;
    --danger-color: #e74c3c;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    background-color: var(--background-color);
    -webkit-overflow-scrolling: touch; /* Helps with iOS rendering */
    height: 100%;
}

/* iOS Safari specific fixes - minimizing layout shifts */
@supports (-webkit-touch-callout: none) {
    html, body {
        position: relative;
        height: 100%;
        min-height: 100vh;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Use relative positioning instead of sticky to minimize shifts */
    .hero {
        position: relative;
        z-index: 10;
    }
    
    /* Add smooth transition to minimize visible shifts */
    .ios-loaded .hero {
        transition: none !important;
    }
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

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

.btn.secondary:hover {
    background-color: rgba(67, 97, 238, 0.1);
    transform: translateY(-2px);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s ease;
}

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

.logo h1 {
    font-size: 1.9rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    position: relative;
}

.logo span {
    font-weight: 400;
    color: var(--secondary-color);
}

.logo h1::before {
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    bottom: 5px;
    right: -10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 38px;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--secondary-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.mobile-nav ul li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    display: block;
    color: white;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: var(--secondary-color);
    color: white;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e0e5f0 80%, #d1d9e6 100%);
    padding: 150px 0 120px;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    display: block;
    /* Force the hero to take up space properly */
    width: 100%;
    height: auto;
    min-height: 80vh;
}

/* iOS hero section enhancements - gentler approach */
@supports (-webkit-touch-callout: none) {
    .hero {
        visibility: visible !important;
        opacity: 1 !important;
        /* More subtle hardware acceleration */
        transform: translateZ(0);
        /* Ensure proper sizing */
        height: auto !important;
    }
    
    /* Ensure content is visible */
    .hero-content {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.05) 0%, rgba(114, 9, 183, 0) 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.05) 0%, rgba(67, 97, 238, 0) 70%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-heading {
    line-height: 1.4;
    width: 100%;
    position: relative;
}

/* Desktop heading (default) */
.desktop-heading {
    display: block;
    text-align: left;
    width: 100%;
    white-space: normal;
    font-size: 3.4rem;
}

/* Mobile heading (hidden by default) */
.mobile-heading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.mobile-line {
    display: block;
    width: 100%;
    margin: 0.12rem 0;
    line-height: 1.3;
}

.static-text {
    display: inline;
    white-space: normal;
}

.dynamic-text-wrapper {
    display: inline;
}

.dynamic-text-container {
    display: inline-block;
    color: transparent;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    font-weight: 800;
    text-align: left;
    line-height: 1.2;
    margin: 0 10px;
    transition: opacity 0.2s ease;
    will-change: opacity; /* Optimize for animations */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: var(--text-light);
    max-width: 90%;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0%, 16% {
        opacity: 1;
    }
    17%, 19% {
        opacity: 0;
    }
    20%, 36% {
        opacity: 1;
    }
    37%, 39% {
        opacity: 0;
    }
    40%, 56% {
        opacity: 1;
    }
    57%, 59% {
        opacity: 0;
    }
    60%, 76% {
        opacity: 1;
    }
    77%, 79% {
        opacity: 0;
    }
    80%, 96% {
        opacity: 1;
    }
    97%, 100% {
        opacity: 0;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 18px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-buttons .btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
}

.hero-buttons .btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.3);
}

.hero-buttons .btn.secondary {
    background-color: white;
}

.hero-buttons .btn.secondary:hover {
    background-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 1s ease-out 0.3s forwards;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(67, 97, 238, 0.1));
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Domains Section */
.domains {
    background-color: var(--background-color);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.domains::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0) 70%);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.domains::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.03) 0%, rgba(114, 9, 183, 0) 70%);
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.domains .container {
    position: relative;
    z-index: 1;
}

.domains h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.domains .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.domain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.domain-card {
    background-color: var(--background-color);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 121, 65, 0.2);
}

/* Coming Soon Styling */
.coming-soon {
    position: relative;
    opacity: 0.85;
}

.coming-soon-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(200, 121, 65, 0.25);
    z-index: 2;
}

.card-link.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.domain-card .icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.domain-card:nth-child(1) .icon {
    color: var(--primary-color);
}

.domain-card:nth-child(2) .icon {
    color: var(--secondary-color);
}

.domain-card:nth-child(3) .icon {
    color: var(--accent-color);
}

.domain-card .icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.1;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.domain-card:hover .icon::after {
    width: 60px;
    height: 60px;
}

.domain-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.domain-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    padding: 10px 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
}

.card-link:after {
    content: '→';
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    background-color: rgba(200, 121, 65, 0.05);
}

.card-link:hover:after {
    transform: translateX(5px);
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    padding: 100px 0;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0) 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.how-it-works .section-description {
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.steps::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 8%;
    width: 84%;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(200, 121, 65, 0) 0%, 
        rgba(200, 121, 65, 0.5) 10%,
        rgba(200, 121, 65, 0.5) 90%,
        rgba(200, 121, 65, 0) 100%);
    z-index: -1;
}

.step {
    padding: 40px 30px;
    background-color: var(--background-color);
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 121, 65, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 6px 15px rgba(200, 121, 65, 0.2);
    position: relative;
    z-index: 2;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 74px;
    height: 74px;
    border: 2px dashed var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    background-color: var(--background-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.03) 0%, rgba(114, 9, 183, 0) 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.about .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.about-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-image {
    flex: 1;
    text-align: center;
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: translateY(-5px);
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -250px;
    left: -100px;
    z-index: 0;
}

.newsletter::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -150px;
    right: -100px;
    z-index: 0;
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter p {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.newsletter-form:hover {
    transform: translateY(-5px);
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    outline: none;
}

.newsletter-form button {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background-color: var(--text-color);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--background-alt);
}

.contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.03) 0%, rgba(67, 97, 238, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeInRight 1s ease-out;
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--background-alt);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
    background-color: white;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.15);
    transition: all 0.3s ease;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.25);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-alt) 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInLeft 1s ease-out;
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: var(--primary-color);
    color: white;
}

.contact-item p {
    font-size: 1.05rem;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

footer::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, rgba(67, 97, 238, 0) 70%);
    top: -250px;
    right: -250px;
    z-index: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.footer-logo p {
    color: #cbd5e0;
    max-width: 300px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

.footer-column ul li a {
    color: #cbd5e0;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 20px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 1200px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .steps .step:nth-child(3),
    .steps .step:nth-child(4) {
        margin-top: 15px;
    }
    .hero-content h1 {
        font-size: 3.6rem;
    }

    .dynamic-text-container {
        min-width: 200px;
    }
}

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

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .animated-heading {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
        gap: 60px;
    }

    .about-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-text {
        text-align: center;
    }

    .about-text ul li {
        text-align: left;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
        gap: 40px;
    }

    .steps::after {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
        /* Minimal rendering enhancements that won't break layout */
        position: relative;
        z-index: 1;
        will-change: opacity;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    /* Switch to mobile layout */
    .desktop-heading {
        display: none;
    }
    
    .mobile-heading {
        display: flex;
    }
    
    .dynamic-text-container.mobile {
        display: inline-block;
        text-align: center;
        min-width: 100% !important;
        margin: 0.5rem 0;
    }

    .dynamic-text-container {
        min-width: 200px;
        font-size: 1.25em;
    }
    
    .hero-content p {
        font-size: 1.5rem;
        line-height: 1.4;
        margin: 1.5rem auto;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    header .container {
        position: relative;
    }

    .domain-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .steps .step {
        margin-top: 0 !important;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.2rem;
        letter-spacing: -0.5px;
        line-height: 1.3;
    }

    /* Switch to mobile layout */
    .desktop-heading {
        display: none;
    }
    
    .mobile-heading {
        display: flex;
    }
    
    .dynamic-text-container.mobile {
        display: inline-block;
        text-align: center;
        min-width: 100% !important;
        margin: 0.5rem 0;
    }

    .mobile-line {
        margin: 0.3rem 0;
    }
    
    .dynamic-text-container.mobile {
        min-width: 100%;
        height: auto;
        display: block;
        font-size: 3.2rem;
    }
    
    .static-text {
        white-space: normal;
    }
    
    .dynamic-text-container.mobile {
        font-size: 3.2rem;
    }
    
    @keyframes slide {
        0%, 19% {
            transform: translateY(0%);
        }
        20%, 39% {
            transform: translateY(-100%);
        }
        40%, 59% {
            transform: translateY(-200%);
        }
        60%, 79% {
            transform: translateY(-300%);
        }
        80%, 99% {
            transform: translateY(-400%);
        }
        100% {
            transform: translateY(0%);
        }
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    .domain-cards, .steps {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem !important;
    }

    .section-description {
        font-size: 1rem !important;
    }
}
