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

:root {
    --bg-dark: #0a0e1a;
    --bg-darker: #060914;
    --bg-card: rgba(15, 23, 42, 0.6);
    --primary: #00b4d8;
    --primary-light: #90e0ef;
    --primary-dark: #0077b6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --glow: rgba(0, 180, 216, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

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

.logo img {
    height: 80px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    /* Blend logo with dark grid background - removes box appearance */
    mix-blend-mode: screen;
    opacity: 0.95;
    filter: brightness(1.1) contrast(1.05);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    height: 500px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 180, 216, 0.3));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.4);
}

.btn-shine {
    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;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

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

.btn-secondary:hover {
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.team-section {
    padding: 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.team-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem;
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: border 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 180, 216, 0.15), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    border-color: rgba(0, 180, 216, 0.45);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 180, 216, 0.18);
}

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

.team-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 180, 216, 0.6);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.25);
}

.team-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.team-role {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: var(--text-secondary);
}

.team-content li::before {
    content: "•";
    color: var(--primary-light);
    margin-right: 0.5rem;
}

.team-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.team-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.cta-section {
    padding: 100px 0 140px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.16), rgba(10, 14, 26, 0.92));
    border: 1px solid rgba(0, 180, 216, 0.35);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 180, 216, 0.18);
    backdrop-filter: blur(18px);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    background: rgba(10, 14, 26, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.95rem 1.1rem;
    color: var(--text-primary);
    font: inherit;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form .btn {
    align-self: flex-start;
}

.form-success,
.form-error {
    font-weight: 500;
}

.form-success {
    color: #58e1c1;
}

.form-error {
    color: #ff8e8e;
}

.form-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 180, 216, 0.92);
    color: #04111c;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(0, 180, 216, 0.3);
    z-index: 1100;
    animation: toast-fade-in 0.3s ease forwards;
}

@keyframes toast-fade-in {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 640px) {
    .contact-form .btn {
        width: 100%;
        justify-content: center;
    }

    .form-toast {
        width: calc(100% - 32px);
        text-align: center;
        left: 16px;
        right: 16px;
        transform: none;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 0.3;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    flex: 1;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover .card-border {
    transform: scaleX(1);
}

/* Red Accent Card (for special features like Sovereign AI) */
.service-card-accent {
    border: 2px solid rgba(239, 68, 68, 0.6) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
}

.service-card-accent:hover {
    border-color: rgba(239, 68, 68, 0.9) !important;
}

.service-card-accent .card-border {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), rgba(252, 129, 129, 0.8)) !important;
}

/* Hover Card (for detail pages) */
.hover-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary) !important;
}

.hover-card .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.5) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.hover-card:hover .card-glow {
    opacity: 0.3;
}

.hover-card > *:not(.card-glow):not(.card-border) {
    position: relative;
    z-index: 1;
}

.hover-card .card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.hover-card:hover .card-border {
    transform: scaleX(1);
}

/* Red Accent Hover Card */
.hover-card-accent {
    border-color: rgba(239, 68, 68, 0.6) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
}

.hover-card-accent:hover {
    border-color: rgba(239, 68, 68, 0.9) !important;
}

.hover-card-accent .card-border {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), rgba(252, 129, 129, 0.8)) !important;
}

.hover-card-accent .card-glow {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.5) 0%, transparent 70%);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '%';
    font-size: 2rem;
    margin-left: 0.25rem;
}

.stat-item:nth-child(2) .stat-number::after {
    content: '+';
}

.stat-item:nth-child(3) .stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.story-text p strong {
    color: var(--primary-light);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-email {
    color: var(--text-secondary);
}

.cta-email a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-email a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--glow) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    /* Blend logo with dark background - removes box appearance */
    mix-blend-mode: screen;
    opacity: 0.95;
    filter: brightness(1.1) contrast(1.05);
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer h4 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Popup Contact Form */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

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

.popup-content {
    background: var(--bg-dark);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 180, 216, 0.3);
    animation: slideUp 0.3s ease;
}

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

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

.popup-title {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    color: var(--primary-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 180, 216, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.btn-submit {
    margin-top: 1rem;
    align-self: flex-start;
    width: 100%;
}

/* Responsive for popup */
@media (max-width: 768px) {
    .popup-content {
        padding: 2rem;
        width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .popup-title {
        font-size: 2rem;
    }
}

/* Platform Detail Pages */
.detail-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 0 80px;
    overflow: hidden;
    background: var(--bg-darker);
}

.detail-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.detail-hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.detail-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.platforms-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.3);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    height: 100%;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.platform-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    flex-shrink: 0;
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-info h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.platform-info a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.platform-info a:hover {
    color: var(--primary);
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.platform-features {
    margin-top: 1.5rem;
}

.platform-features h4 {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.platform-features ul {
    list-style: none;
    padding: 0;
}

.platform-features li {
    color: var(--text-secondary);
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.platform-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.platform-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.cta-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-logo img {
        height: 200px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .platform-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .calculator-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Modern Select Dropdown */
.model-select:hover {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.model-select:focus {
    outline: none;
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.model-select option {
    background: #1e1e1e;
    color: #e4e4e7;
    padding: 0.5rem;
}
