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

:root {
    /* susirl brand colors from the app */
    --sus-color: #FF3366; /* Pink/Red from "sus" */
    --irl-color: #3399FF; /* Blue from "irl" */
    --background-black: #000000;
    --card-background: rgba(255, 255, 255, 0.08);
    --glass-background: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.15);
    
    /* Fluid Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-small: clamp(0.75rem, 2vw, 0.875rem);
    --font-size-base: clamp(0.875rem, 2.5vw, 1rem);
    --font-size-large: clamp(1rem, 3vw, 1.125rem);
    --font-size-xl: clamp(1.125rem, 3.5vw, 1.25rem);
    --font-size-2xl: clamp(1.25rem, 4vw, 1.5rem);
    --font-size-3xl: clamp(1.5rem, 5vw, 2rem);
    
    /* Fluid Spacing */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 1.5vw, 0.75rem);
    --spacing-md: clamp(0.75rem, 2vw, 1rem);
    --spacing-lg: clamp(1rem, 3vw, 1.5rem);
    --spacing-xl: clamp(1.5rem, 4vw, 2rem);
    --spacing-2xl: clamp(2rem, 6vw, 3rem);
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(51, 153, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 51, 102, 0.05) 0%, transparent 40%),
        var(--background-black);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text x="4" y="24" font-size="20">😈</text></svg>'), auto;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-2xl) 0;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    width: 100%;
}

.logo-main {
    height: clamp(200px, 25vw, 400px); /* Fluid logo scaling */
    width: auto;
    max-width: 90vw; /* Prevent overflow */
    filter: 
        drop-shadow(0 12px 40px rgba(255, 51, 102, 0.6)) 
        drop-shadow(0 8px 24px rgba(51, 153, 255, 0.4))
        drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.logo-main:hover {
    transform: scale(1.05);
    filter: 
        drop-shadow(0 16px 48px rgba(255, 51, 102, 0.8)) 
        drop-shadow(0 12px 32px rgba(51, 153, 255, 0.6))
        drop-shadow(0 6px 16px rgba(255, 255, 255, 0.2));
}

.tagline {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 0 var(--spacing-md);
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
}

.section {
    margin-bottom: var(--spacing-2xl);
    width: 100%;
}

.section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--sus-color), var(--irl-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.section p {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 0 var(--spacing-md);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    width: 100%;
    padding: 0 var(--spacing-sm);
}

.feature-card {
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 51, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    width: 100%;
    padding: 0 var(--spacing-sm);
}

.support-card {
    background: var(--card-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    width: 100%;
}

.support-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    text-align: center;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-background);
    width: 100%;
}

.faq-item summary {
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    list-style: none;
    position: relative;
    word-wrap: break-word;
    hyphens: auto;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.2s ease;
    color: var(--text-secondary);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-item p {
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin: 0;
    word-wrap: break-word;
    hyphens: auto;
}

/* Contact Section */
.contact-section {
    margin-top: var(--spacing-lg);
    text-align: center;
    width: 100%;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--sus-color), var(--irl-color));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-large);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 51, 102, 0.4);
    min-width: 200px;
    max-width: 90%;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 51, 102, 0.5);
    background: linear-gradient(135deg, #ff4477, #4daaff);
}

.contact-icon {
    font-size: clamp(1rem, 3vw, 1.4rem);
    flex-shrink: 0;
}

.response-time {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    text-align: center;
}

/* Footer */
.footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
    width: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    height: clamp(120px, 15vw, 250px); /* Fluid footer logo scaling */
    width: auto;
    max-width: 90%;
    margin-bottom: var(--spacing-lg);
    filter: 
        drop-shadow(0 8px 24px rgba(255, 51, 102, 0.5)) 
        drop-shadow(0 4px 12px rgba(51, 153, 255, 0.3));
}

.footer-tagline {
    color: var(--text-primary);
    font-size: var(--font-size-large);
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-xl);
    width: 100%;
}

.footer-section {
    width: 100%;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--sus-color), var(--irl-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    width: 100%;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: all 0.2s ease;
    word-wrap: break-word;
}

.footer-section a:hover {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--sus-color), var(--irl-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    padding: 0 var(--spacing-md);
}

/* Comprehensive Responsive Design */

/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium screens (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-xl);
    }
}

/* Small screens and tablets (481px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .contact-button {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
        width: 90%;
        max-width: 300px;
    }
}

/* Extra small screens (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .header {
        padding: var(--spacing-lg) 0;
    }
    
    .feature-card,
    .support-card {
        padding: var(--spacing-lg);
        margin: 0;
    }
    
    .section h2 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-base);
        gap: var(--spacing-sm);
        width: 95%;
    }
    
    .tagline {
        font-size: var(--font-size-large);
    }
}

/* Ultra small screens (below 320px) */
@media (max-width: 319px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .logo-main {
        height: clamp(150px, 30vw, 200px);
    }
    
    .footer-logo {
        height: clamp(80px, 20vw, 120px);
    }
    
    .feature-card,
    .support-card {
        padding: var(--spacing-md);
    }
    
    .contact-button {
        width: 100%;
        padding: var(--spacing-sm);
        font-size: var(--font-size-small);
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .header {
        padding: var(--spacing-md) 0;
    }
    
    .logo-main {
        height: clamp(100px, 15vh, 200px);
    }
    
    .section {
        margin-bottom: var(--spacing-lg);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-main,
    .footer-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Selection styling */
::selection {
    background: linear-gradient(135deg, var(--sus-color), var(--irl-color));
    color: white;
}

/* Focus styles for accessibility */
button:focus,
summary:focus,
a:focus {
    outline: 2px solid var(--sus-color);
    outline-offset: 2px;
}

/* Loading animation for interactive elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.support-card,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section h2,
.footer-section h4 {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
} 