:root {
    --color-dark-blue: #0A1929;
    --color-blue-900: #0F172A;
    --color-blue-800: #1E293B;
    --color-teal: #14B8A6;
    --color-teal-light: #2DD4BF;
    --color-teal-dark: #0D9488;
    --color-white: #FFFFFF;
    --color-gray-50: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    
    --font-display: 'Space Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-gray-700);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation with glass morphism */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: var(--transition);
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-teal) 50%, 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav:hover::before {
    opacity: 1;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-decoration: none;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--color-teal);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-cta:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta:hover {
    background: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

/* Hero Section with Animated Background */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    z-index: 0;
}

/* Animated Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-teal) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-teal-light) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-dark-blue) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShapes 15s infinite ease-in-out;
}

.shape-1 {
    width: 100px;
    height: 100px;
    border: 3px solid var(--color-teal);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    border: 3px solid var(--color-teal-light);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    transform: rotate(45deg);
}

.shape-3 {
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-dark-blue);
    border-radius: 50%;
    bottom: 30%;
    left: 20%;
    animation-delay: 6s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-teal);
    top: 40%;
    right: 25%;
    animation-delay: 9s;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-5 {
    width: 90px;
    height: 90px;
    border: 3px solid var(--color-teal-dark);
    border-radius: 30%;
    bottom: 20%;
    right: 30%;
    animation-delay: 12s;
}

@keyframes floatShapes {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-teal);
    opacity: 0.2;
    z-index: -1;
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        opacity: 0.2;
        height: 8px;
    }
    50% {
        opacity: 0.4;
        height: 12px;
    }
}

/* Animated Gradient Text */
.gradient-text {
    background: linear-gradient(
        90deg,
        var(--color-teal) 0%,
        var(--color-teal-light) 50%,
        var(--color-teal) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-teal);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark-blue);
    border: 2px solid var(--color-dark-blue);
}

.btn-secondary:hover {
    background: var(--color-dark-blue);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 25, 41, 0.3);
}

.btn-full {
    width: 100%;
}

/* Code Block Visual with 3D Transform */
.hero-visual {
    position: relative;
    perspective: 1500px;
}

.code-block {
    background: var(--color-dark-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(10, 25, 41, 0.4);
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(20, 184, 166, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.code-block:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(10, 25, 41, 0.5);
}

.code-header {
    background: var(--color-blue-800);
    padding: 1rem 1.2rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-teal);
    opacity: 0.6;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    background: var(--color-teal-light);
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    background: var(--color-teal-dark);
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.code-content {
    padding: 2rem 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.code-line {
    color: var(--color-gray-300);
    opacity: 0;
    animation: typeIn 0.5s ease-out forwards;
}

.code-line:nth-child(1) {
    animation-delay: 0.5s;
}

.code-line:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.keyword {
    color: #FF79C6;
}

.variable {
    color: var(--color-teal-light);
}

.function {
    color: #FFB86C;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    transition: padding-bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.services.card-flipped {
    padding-bottom: 250px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-teal);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--color-gray-600);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service Cards with 3D Flip Effect */
.service-card-wrapper {
    perspective: 1500px;
}

.service-card {
    background: transparent;
    border: none;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    min-height: 550px;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    min-height: 550px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.service-card-front {
    transform: rotateY(0deg);
    z-index: 2;
}

.service-card-back {
    transform: rotateY(180deg);
    overflow-y: auto;
    max-height: 650px;
}

/* Custom scrollbar for card back */
.service-card-back::-webkit-scrollbar {
    width: 6px;
}

.service-card-back::-webkit-scrollbar-track {
    background: var(--color-gray-200);
    border-radius: 10px;
}

.service-card-back::-webkit-scrollbar-thumb {
    background: var(--color-teal);
    border-radius: 10px;
}

.service-card-back::-webkit-scrollbar-thumb:hover {
    background: var(--color-teal-dark);
}

.service-card:not(.flipped):hover {
    transform: translateY(-10px);
}

.service-card:not(.flipped):hover .service-card-front {
    box-shadow: 0 25px 50px rgba(20, 184, 166, 0.2);
    border-color: var(--color-teal);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(20, 184, 166, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
    border-radius: 16px;
}

.service-card:not(.flipped):hover .card-glow {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
    position: relative;
    z-index: 1;
}

.service-card:not(.flipped):hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(20, 184, 166, 0.5);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:not(.flipped):hover .service-title {
    color: var(--color-teal);
}

.service-description {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.service-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-teal);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--color-gray-600);
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Button Styles for Flip Cards */
.service-expand-btn {
    width: 100%;
    margin-top: auto;
    padding: 0.8rem;
    background: var(--color-teal);
    border: 2px solid var(--color-teal);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.service-expand-btn:hover {
    background: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.service-expand-btn.btn-back {
    background: transparent;
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.service-expand-btn.btn-back:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

/* Card Back Content */
.service-details-content {
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.service-details-content h4 {
    font-family: var(--font-display);
    color: var(--color-dark-blue);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
}

.service-details-content h4:first-child {
    margin-top: 0;
}

.service-details-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.service-details-content ul li {
    color: var(--color-gray-600);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-details-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

.service-details-content p {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.service-note {
    background: rgba(20, 184, 166, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
    border-left: 3px solid var(--color-teal);
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Hosting Section */
.hosting {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-blue-900) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hosting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-teal) 50%,
        transparent
    );
}

.hosting-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hosting-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hosting-description {
    font-size: 1.2rem;
    color: var(--color-gray-300);
    margin-bottom: 3rem;
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 20px;
}

.hosting-option {
    background: var(--color-blue-800);
    border: 2px solid var(--color-blue-800);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    will-change: transform;
}

.hosting-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(20, 184, 166, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
    opacity: 0;
}

.hosting-option:hover::before {
    left: 100%;
    opacity: 1;
}

.hosting-option.featured {
    border-color: rgba(20, 184, 166, 0.3);
}

.hosting-option:not(.featured):hover {
    transform: translateY(-10px);
    border-color: var(--color-teal);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.3);
}

.hosting-option.featured:hover {
    border-color: var(--color-teal);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.3);
}

.hosting-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    color: var(--color-white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.hosting-option.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hosting-option.featured:hover::after {
    opacity: 1;
}

.hosting-option h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hosting-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hosting-price span {
    font-size: 1rem;
    color: var(--color-gray-300);
}

.hosting-option p {
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hosting-badge {
    display: inline-block;
    background: rgba(20, 184, 166, 0.2);
    color: var(--color-teal-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--color-gray-50);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(10px);
    border-color: var(--color-teal);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.about-feature:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.about-feature h4 {
    font-family: var(--font-display);
    color: var(--color-dark-blue);
    margin-bottom: 0.3rem;
}

.about-feature p {
    color: var(--color-gray-600);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-teal);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--color-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-teal);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.contact-method:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.contact-method:hover {
    border-color: var(--color-teal);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    color: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.contact-method:hover .method-icon {
    transform: rotate(360deg) scale(1.1);
}

.method-title {
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 0.2rem;
}

.method-detail {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-light));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.contact-form:hover::before {
    opacity: 0.1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-dark-blue);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    width: 180px;
    border-radius: 30px;
}

.whatsapp-float svg {
    min-width: 32px;
    min-height: 32px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover svg {
    margin-right: 10px;
}

.whatsapp-text {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    max-width: 100px;
    margin-left: 0;
}

/* WhatsApp Button Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-blue-900) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-teal) 50%,
        transparent
    );
}

/* Rising Bubbles in Footer */
.footer-bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.3), rgba(20, 184, 166, 0.05));
    border-radius: 50%;
    opacity: 0;
    animation: riseBubble 12s infinite ease-in;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.footer-bubble-1 {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.footer-bubble-2 {
    width: 40px;
    height: 40px;
    left: 25%;
    animation-delay: 3s;
    animation-duration: 12s;
}

.footer-bubble-3 {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 16s;
}

.footer-bubble-4 {
    width: 50px;
    height: 50px;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 13s;
}

.footer-bubble-5 {
    width: 35px;
    height: 35px;
    left: 85%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.footer-bubble-6 {
    width: 45px;
    height: 45px;
    left: 40%;
    animation-delay: 5s;
    animation-duration: 11s;
}

@keyframes riseBubble {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: translateX(10px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-20px) scale(1.1);
    }
    90% {
        opacity: 0.4;
        transform: translateX(30px) scale(0.9);
    }
    100% {
        bottom: 500px;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
}

/* Footer Content Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-teal);
}

.footer-col p {
    color: var(--color-gray-300);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-teal);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-300);
}

.footer-contact svg {
    min-width: 16px;
    color: var(--color-teal);
}

.footer-contact a {
    color: var(--color-gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-teal);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--color-gray-400);
    font-size: 0.9rem;
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.heart {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

.fade-in.delay-1 {
    animation-delay: 0.2s;
}

.fade-in.delay-2 {
    animation-delay: 0.4s;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* Large Screens / TVs (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: 600px;
    }
}

/* Laptop (969px - 1440px) */
@media (max-width: 1440px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: 580px;
    }
}

/* Tablet & Small Laptop (641px - 968px) */
@media (max-width: 968px) {
    /* Typography */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .code-block {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: 540px;
        padding: 2rem;
    }
    
    .services.card-flipped {
        padding-bottom: 200px;
    }
    
    /* Hosting */
    .hosting-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Mobile (320px - 640px) */
@media (max-width: 640px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-content {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Hero */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
    
    .code-block {
        display: none;
    }
    
    /* Floating shapes - reduce on mobile */
    .shape {
        opacity: 0.05;
    }
    
    /* Services */
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: 500px;
        padding: 1.75rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-price {
        font-size: 1.5rem;
    }
    
    .service-features {
        font-size: 0.9rem;
    }
    
    .service-expand-btn {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    
    .services.card-flipped {
        padding-bottom: 150px;
    }
    
    /* Service card back content */
    .service-details-content h4 {
        font-size: 1rem;
    }
    
    .service-details-content ul li {
        font-size: 0.9rem;
    }
    
    .service-details-content p {
        font-size: 0.9rem;
    }
    
    /* Hosting */
    .hosting {
        padding: 60px 0;
    }
    
    .hosting-title {
        font-size: 2rem;
    }
    
    .hosting-description {
        font-size: 1rem;
    }
    
    .hosting-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hosting-option {
        padding: 2rem;
    }
    
    .hosting-option.featured {
        transform: scale(1);
    }
    
    .hosting-price {
        font-size: 2rem;
    }
    
    /* About */
    .about {
        padding: 60px 0;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-feature {
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    /* Contact */
    .contact {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-links,
    .footer-contact {
        align-items: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    /* Reduce bubbles on mobile */
    .footer-bubble-4,
    .footer-bubble-5,
    .footer-bubble-6 {
        display: none;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        min-width: 28px;
        min-height: 28px;
    }
    
    .whatsapp-float:hover {
        width: 56px;
        border-radius: 50%;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: 480px;
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .hosting-option h3 {
        font-size: 1.25rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .service-card-front,
    .service-card-back {
        min-height: auto;
    }
}

/* Preload animation */
@keyframes preload {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    animation: preload 0.3s ease-in;
}