* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-red: #4be2c2;
    --dark-red: #2bb89e;
    --light-red: #6ff5d5;
    --primary-purple: #6b46c1;
    --dark-purple: #4c1d95;
    --light-purple: #a78bfa;
    --lavender: #e0e7ff;
    --black: #000000;
    --dark-gray: #1f2937;
    --light-gray: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-purple) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-red);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 1rem;
}

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    flex-shrink: 1;
    max-width: 70%;
}

.navbar-brand span {
    font-size: 0.5rem;
    display: block;
    margin-top: -3px;
}

.navbar-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.navbar-menu li {
    display: inline;
}

.navbar-menu a {
    color: var(--lavender);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-menu a:hover {
    color: var(--primary-red);
}

.navbar-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-shrink: 0;
}

.navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    padding: 1rem;
    gap: 0;
}

.navbar-menu.active li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(75, 226, 194, 0.2);
}

.navbar-menu.active li:last-child {
    border-bottom: none;
}

.navbar-menu.active a {
    display: block;
    padding: 1rem;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-purple) 30%, var(--dark-red) 70%, var(--primary-red) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.6), 0 0 30px rgba(167, 139, 250, 0.4);
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--lavender);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Fira Code', monospace;
    word-wrap: break-word;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--light-purple);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

.hero-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(167, 139, 250, 0.15));
    border: 1px solid var(--light-red);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: var(--lavender);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.badge i {
    color: var(--light-red);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    min-height: 48px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4), 0 5px 20px rgba(107, 70, 193, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-purple);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover, .btn-secondary:active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
    order: -1;
}

.hero-image img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, 0.5)) drop-shadow(0 0 20px rgba(167, 139, 250, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--black) 50%, var(--dark-red) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(167, 139, 250, 0.1));
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(167, 139, 250, 0.15));
    border-color: var(--light-purple);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 15px rgba(167, 139, 250, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--light-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--lavender);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--light-gray) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark-red), var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding: 0 0.5rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--primary-red);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.expertise-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1), 0 3px 15px rgba(107, 70, 193, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--primary-red), var(--primary-purple)) 1;
    width: 100%;
    max-width: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2), 0 5px 20px rgba(107, 70, 193, 0.15);
}

.expertise-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.expertise-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.expertise-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-red);
    margin: 0;
    word-wrap: break-word;
}

.expertise-card p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.expertise-card li::before {
    content: '🎯';
    position: absolute;
    left: 0;
}

/* Platforms Section */
.platforms {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--black) 50%, var(--dark-red) 100%);
    color: var(--white);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(167, 139, 250, 0.1));
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.platform-card:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(167, 139, 250, 0.2));
    border-color: var(--light-purple);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 15px rgba(167, 139, 250, 0.2);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--light-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-card h4 {
    color: var(--light-red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.platform-card p {
    color: var(--lavender);
    font-size: 0.85rem;
}

/* Methodology Section */
.methodology {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--lavender) 0%, var(--light-gray) 100%);
}

.methodology-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    padding-left: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.1), 0 3px 15px rgba(107, 70, 193, 0.1);
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--primary-red), var(--primary-purple)) 1;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.timeline-number {
    position: absolute;
    left: -15px;
    top: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3), 0 2px 8px rgba(107, 70, 193, 0.2);
}

.timeline-item h4 {
    color: var(--dark-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
}

.timeline-item p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-left: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--black) 50%, var(--dark-red) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--light-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-align: center;
    padding: 0 0.5rem;
}

.contact-info p {
    font-size: 1rem;
    color: var(--lavender);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
    padding: 0 0.5rem;
}

.contact-methods {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(167, 139, 250, 0.1));
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.contact-method:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(167, 139, 250, 0.2));
    transform: translateX(5px);
    border-color: var(--light-purple);
}

.contact-method i {
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--light-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    width: 30px;
    flex-shrink: 0;
}

.contact-method a {
    color: var(--lavender);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
    font-size: 0.9rem;
}

.contact-method a:hover {
    color: var(--light-purple);
}

.contact-form {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(167, 139, 250, 0.1));
    border: 2px solid var(--primary-red);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-red);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    min-height: 48px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--lavender);
    opacity: 0.7;
}

.form-group select {
    color: var(--white);
}

.form-group select option {
    background: var(--black);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-purple);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.3), 0 0 10px rgba(167, 139, 250, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--lavender);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    background: linear-gradient(135deg, var(--light-red), var(--light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    color: var(--lavender);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--lavender);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--light-purple);
}

.footer-bottom {
    border-top: 1px solid var(--dark-purple);
    padding-top: 1rem;
    text-align: center;
    color: var(--lavender);
    font-size: 0.8rem;
    word-wrap: break-word;
}

/* Tablet Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-menu {
        display: flex;
        flex-direction: row;
    }

    .navbar-toggle {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-image {
        order: 0;
    }

    .hero-badges {
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Responsive Design */
@media (min-width: 1025px) {
    .navbar-menu {
        display: flex;
        flex-direction: row;
    }

    .navbar-toggle {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
        max-width: 100%;
    }

    .hero-badges {
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .btn {
        width: auto;
        max-width: none;
    }

    .hero-image {
        order: 0;
    }

    .hero-image img {
        max-width: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .stat-card {
        padding: 2.5rem 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .expertise {
        padding: 6rem 0;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .section-header p {
        font-size: 1.3rem;
        max-width: 700px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .expertise-card {
        padding: 2.5rem;
    }

    .platforms {
        padding: 6rem 0;
    }

    .platforms-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .methodology {
        padding: 6rem 0;
    }

    .timeline-item {
        padding: 2.5rem;
    }

    .contact {
        padding: 6rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .contact-info h2 {
        font-size: 3rem;
        text-align: left;
    }

    .contact-info p {
        font-size: 1.2rem;
        text-align: left;
    }

    .contact-form {
        padding: 3rem;
    }

    .footer {
        padding: 4rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:active,
    .expertise-card:active,
    .platform-card:active {
        transform: scale(0.98);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
