@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.05);
    --primary: #3dae4c; /* Vibrant green from logo */
    --primary-glow: rgba(61, 174, 76, 0.3);
    --secondary: #f24224; /* Red-orange from logo */
    --secondary-glow: rgba(242, 66, 36, 0.3);
    --accent: #3dae4c;
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Background Effects */
#canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gradient-glows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    width: 50vw;
    height: 50vw;
    top: -10vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    animation: pulse-glow 12s infinite alternate;
}

.glow-2 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    bottom: -15vw;
    right: -15vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(100px);
    animation: pulse-glow 16s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(5%, 5%); opacity: 1; }
}

/* Main Container */
main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

/* Header & Logo */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: rotate 6s linear infinite;
}

.logo-inner {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: 0 0 15px var(--primary-glow);
    animation: pulse-inner 3s ease-in-out infinite alternate;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
    line-height: 1;
}

.x-accent {
    color: var(--primary);
}

.logo-subtext {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-inner {
    0% { transform: rotate(45deg) scale(0.9); opacity: 0.8; }
    100% { transform: rotate(45deg) scale(1.1); opacity: 1; }
}

/* Content Card */
.content-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    max-width: 750px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 2rem 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 70%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline-accent {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Timer */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.countdown-box:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.15);
    box-shadow: 0 10px 20px -10px rgba(6, 182, 212, 0.1);
}

.countdown-val {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Subscription Form */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.subscribe-form {
    display: flex;
    gap: 0.75rem;
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.5rem;
    border-radius: 100px;
    transition: var(--transition);
}

.subscribe-form:focus-within {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    width: 100%;
}

.subscribe-form input[type="email"]::placeholder {
    color: rgba(156, 163, 175, 0.6);
}

.subscribe-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #07090e;
    border: none;
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.subscribe-form button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.subscribe-form button:active {
    transform: scale(0.98);
}

.subscribe-form button svg {
    transition: var(--transition);
}

.subscribe-form button:hover svg {
    transform: translateX(3px);
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(11, 15, 25, 0.9);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid var(--primary);
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.4rem;
    border-radius: 100px;
    margin-bottom: 3rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn svg {
    opacity: 0.6;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn.active svg {
    opacity: 1;
    color: var(--primary);
}

/* Tab Panes */
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Us Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    text-align: left;
}

.about-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    position: relative;
    padding-left: 1rem;
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 10px;
}

.about-section p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.philosophy-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.philosophy-item:hover {
    border-color: rgba(61, 174, 76, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.philosophy-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.philosophy-item p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Services Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 66, 36, 0.15);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover:nth-child(even) {
    border-color: rgba(61, 174, 76, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.green-icon {
    background: rgba(61, 174, 76, 0.1);
    color: var(--primary);
    border: 1px solid rgba(61, 174, 76, 0.2);
}

.red-icon {
    background: rgba(242, 66, 36, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(242, 66, 36, 0.2);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    text-align: left;
}

.contact-details h2, .regulatory-details h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.address {
    display: flex;
    gap: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.address svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 0.2rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-numbers h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.contact-link svg {
    color: var(--secondary);
}

.contact-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.regulatory-details {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.regulatory-details h2 {
    margin-bottom: 0.5rem;
}

.id-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1rem;
}

.id-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.id-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.id-value {
    font-family: monospace;
    font-size: 0.95rem;
    color: #ffffff;
}

/* Footer Section */
footer {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(156, 163, 175, 0.5);
    letter-spacing: 0.02em;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    main {
        padding: 1.5rem;
    }
    .content-wrapper {
        padding: 3rem 2.5rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
    }

    .content-wrapper {
        padding: 2.5rem 1.5rem;
        margin: 1rem 0;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .countdown-box {
        padding: 1.25rem 0.75rem;
    }
    
    .countdown-val {
        font-size: 2rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        border-radius: 18px;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.02);
    }
    
    .subscribe-form input[type="email"] {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .subscribe-form button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tabs-nav {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .content-wrapper {
        padding: 2rem 1rem;
        margin: 0.5rem 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    .countdown-container {
        gap: 0.5rem;
    }

    .countdown-val {
        font-size: 1.6rem;
    }

    .countdown-unit {
        font-size: 0.65rem;
    }

    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tabs-nav {
        flex-wrap: wrap;
        border-radius: 18px;
        padding: 0.25rem;
    }

    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .regulatory-details {
        padding: 1.25rem;
    }

    .id-value {
        font-size: 0.8rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
