@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0a0a;
    --card-bg: rgba(15, 15, 15, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #00f2fe;
    --border-color: rgba(255, 255, 255, 0.1);
}

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-particle {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--accent-color);
    opacity: 0.3;
    animation: float-code 20s linear infinite;
    white-space: nowrap;
}

.code-particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.code-particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 3s; }
.code-particle:nth-child(3) { top: 60%; left: 15%; animation-delay: 6s; }
.code-particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 9s; }
.code-particle:nth-child(5) { top: 30%; left: 85%; animation-delay: 12s; }
.code-particle:nth-child(6) { top: 70%; left: 5%; animation-delay: 15s; }

.code-particle::before {
    content: attr(data-text);
}

@keyframes float-code {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
        opacity: 0.3;
    }
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 242, 254, 0.1), rgba(240, 147, 251, 0.1));
    animation: geometric-float 15s ease-in-out infinite;
}

.hexagon {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 20%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation-delay: 0s;
}

.triangle {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 75%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 5s;
}

.circle {
    width: 80px;
    height: 80px;
    top: 25%;
    left: 85%;
    border-radius: 50%;
    animation-delay: 10s;
}

.square {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes geometric-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translateY(15px) rotate(240deg) scale(0.9);
    }
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.hero-section {
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInDown 1s ease-out 0.5s forwards;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: greenBlink 1.5s infinite;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
    flex-shrink: 0;
}

@keyframes greenBlink {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 6px rgba(76, 175, 80, 0.8);
    }
    50% { 
        opacity: 0.3;
        box-shadow: 0 0 3px rgba(76, 175, 80, 0.4);
    }
}

.main-title {
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    overflow-wrap: break-word;
}

.title-line:nth-child(1) {
    animation: slideInUp 1s ease-out 0.8s forwards;
}

.title-line:nth-child(2) {
    animation: slideInUp 1s ease-out 1.1s forwards;
}

.title-line:nth-child(3) {
    animation: slideInUp 1s ease-out 1.4s forwards;
}

.highlight {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.subtitle {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.8s forwards;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.typing-text {
    border-right: 2px solid var(--accent-color);
    animation: typing 3s steps(40) 2s forwards, blink 1s infinite 2s;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    display: inline-block;
    max-width: 100%;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.expertise-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 1s ease-out 2.5s forwards;
    max-width: 100%;
}

.tag {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: clamp(10px, 2.5vw, 14px);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-section {
    opacity: 0;
    animation: fadeIn 1s ease-out 3s forwards;
    max-width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    word-break: break-word;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
}

.card-icon {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--success-gradient);
    border-radius: 50%;
    opacity: 0.2;
}

.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    filter: grayscale(1) brightness(2);
}

.card-content h3 {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    word-break: break-word;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-link:hover {
    text-shadow: 0 0 10px var(--accent-color);
}

.card-content p {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-top: 0.5rem;
    word-break: break-word;
}

.cta-section {
    text-align: center;
    max-width: 100%;
}

.cta-button {
    background: var(--success-gradient);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.3);
    white-space: nowrap;
    max-width: 100%;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.button-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-top: 1rem;
    word-break: break-word;
}

.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: glow-float 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--success-gradient);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes glow-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

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

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

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

@media (max-width: 768px) {
    .container {
        height: 100vh;
        padding: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .content {
        padding: 0;
        width: 100%;
        max-width: 100%;
        display: block;
        text-align: center;
    }
    
    .hero-section {
        margin-bottom: 1rem;
    }
    
    .status-badge {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 0.5rem;
    }
    
    .main-title {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
        margin-bottom: 0.5rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: clamp(0.8rem, 3vw, 1rem);
        margin-bottom: 0.8rem;
    }
    
    .typing-text {
        white-space: normal;
        width: auto !important;
        border-right: none;
        animation: none;
    }
    
    .expertise-tags {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tag {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .contact-section {
        margin-top: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-card {
        padding: 1rem;
        margin: 0;
        display: flex;
        align-items: center;
        text-align: left;
        min-height: auto;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        margin: 0 1rem 0 0;
        flex-shrink: 0;
    }
    
    .icon {
        font-size: 18px;
    }
    
    .card-content {
        flex: 1;
        min-width: 0;
    }
    
    .card-content h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.1rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
        margin-top: 0.1rem;
    }
    
    .cta-section {
        margin-top: 0.5rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cta-subtitle {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .title-line,
    .status-badge,
    .subtitle,
    .expertise-tags,
    .contact-section {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .main-title {
        font-size: clamp(1.2rem, 9vw, 1.8rem);
    }
    
    .contact-card {
        padding: 0.8rem;
    }
    
    .card-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.8rem;
    }
    
    .icon {
        font-size: 16px;
    }
    
    .card-content h3 {
        font-size: 0.9rem;
    }
    
    .contact-link {
        font-size: 0.8rem;
    }
    
    .card-content p {
        font-size: 0.7rem;
    }
}

@media (max-height: 650px) and (max-width: 768px) {
    .container {
        padding: 0.4rem;
    }
    
    .hero-section {
        margin-bottom: 0.8rem;
    }
    
    .main-title {
        font-size: clamp(1.1rem, 7vw, 1.6rem);
        margin-bottom: 0.3rem;
    }
    
    .subtitle {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        margin-bottom: 0.5rem;
    }
    
    .expertise-tags {
        margin-bottom: 0.8rem;
    }
    
    .tag {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .contact-card {
        padding: 0.7rem;
    }
    
    .cta-section {
        margin-top: 0.3rem;
    }
}

* {
    max-width: 100%;
    word-wrap: break-word;
}

.container * {
    box-sizing: border-box;
}
